MCPcopy Create free account
hub / github.com/solana-program/system / destination

Method destination

clients/rust/src/generated/instructions/transfer_sol.rs:107–110  ·  view source on GitHub ↗
(&mut self, destination: solana_address::Address)

Source from the content-addressed store, hash-verified

105 }
106 #[inline(always)]
107 pub fn destination(&mut self, destination: solana_address::Address) -> &mut Self {
108 self.destination = Some(destination);
109 self
110 }
111 #[inline(always)]
112 pub fn amount(&mut self, amount: u64) -> &mut Self {
113 self.amount = Some(amount);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected