pub fn create_account(
funder: &AccountInfo,
account: &AccountInfo,
lamports: u64,
space: u64,
owner: &Pubkey,
)Expand description
Create a new account.
ยงArguments
funder: Funding account.account: New account.lamports: Number of lamports to transfer to the new account.space: Number of bytes of memory to allocate.owner: Address of program that will own the new account.