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

Method createNonceAccount

interface/src/wasm.rs:88–96  ·  view source on GitHub ↗
(
        from_pubkey: &Pubkey,
        nonce_pubkey: &Pubkey,
        authority: &Pubkey,
        lamports: u64,
    )

Source from the content-addressed store, hash-verified

86 }
87
88 pub fn createNonceAccount(
89 from_pubkey: &Pubkey,
90 nonce_pubkey: &Pubkey,
91 authority: &Pubkey,
92 lamports: u64,
93 ) -> js_sys::Array {
94 let instructions = create_nonce_account(from_pubkey, nonce_pubkey, authority, lamports);
95 instructions.into_iter().map(JsValue::from).collect()
96 }
97
98 pub fn advanceNonceAccount(nonce_pubkey: &Pubkey, authorized_pubkey: &Pubkey) -> Instruction {
99 advance_nonce_account(nonce_pubkey, authorized_pubkey)

Callers

nothing calls this directly

Calls 1

create_nonce_accountFunction · 0.85

Tested by

no test coverage detected