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

Method createAccountWithSeed

interface/src/wasm.rs:27–37  ·  view source on GitHub ↗
(
        from_pubkey: &Pubkey,
        to_pubkey: &Pubkey,
        base: &Pubkey,
        seed: &str,
        lamports: u64,
        space: u64,
        owner: &Pubkey,
    )

Source from the content-addressed store, hash-verified

25 }
26
27 pub fn createAccountWithSeed(
28 from_pubkey: &Pubkey,
29 to_pubkey: &Pubkey,
30 base: &Pubkey,
31 seed: &str,
32 lamports: u64,
33 space: u64,
34 owner: &Pubkey,
35 ) -> Instruction {
36 create_account_with_seed(from_pubkey, to_pubkey, base, seed, lamports, space, owner)
37 }
38
39 pub fn assign(pubkey: &Pubkey, owner: &Pubkey) -> Instruction {
40 assign(pubkey, owner)

Callers

nothing calls this directly

Calls 1

create_account_with_seedFunction · 0.85

Tested by

no test coverage detected