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

Method amount

clients/rust/src/generated/instructions/transfer_sol.rs:112–115  ·  view source on GitHub ↗
(&mut self, amount: u64)

Source from the content-addressed store, hash-verified

110 }
111 #[inline(always)]
112 pub fn amount(&mut self, amount: u64) -> &mut Self {
113 self.amount = Some(amount);
114 self
115 }
116 /// Add an additional account to the instruction.
117 #[inline(always)]
118 pub fn add_remaining_account(&mut self, account: solana_instruction::AccountMeta) -> &mut Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected