create_account_allow_prefund

Function create_account_allow_prefund 

Source
pub fn create_account_allow_prefund(
    new_account_address: &Address,
    payer_and_lamports: Option<(&Address, u64)>,
    space: u64,
    owner: &Address,
) -> Instruction
Available on crate feature bincode only.
Expand description

Create a new account without enforcing zero lamports on the destination account.

ยงRequired signers

The new_account_address signer must sign the transaction. If present, the payer in payer_and_lamports must also sign the transaction.