[][src]Function solana_libra_transaction_builder::encode_create_account_script

pub fn encode_create_account_script(
    account_address: &AccountAddress,
    initial_balance: u64
) -> Script

Encode a program creating a fresh account at account_address with initial_balance coins transferred from the sender's account balance. Fails if there is already an account at account_address or if the sender's balance is lower than initial_balance.