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

Method new_account

clients/rust/src/generated/instructions/allocate.rs:94–97  ·  view source on GitHub ↗
(&mut self, new_account: solana_address::Address)

Source from the content-addressed store, hash-verified

92 }
93 #[inline(always)]
94 pub fn new_account(&mut self, new_account: solana_address::Address) -> &mut Self {
95 self.new_account = Some(new_account);
96 self
97 }
98 #[inline(always)]
99 pub fn space(&mut self, space: u64) -> &mut Self {
100 self.space = Some(space);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected