Function warp_api_ffi::api::account::new_account
source · [−]Expand description
Create a new account
Arguments
coin: 0 for zcash, 1 for ycashname: account namekey:Some(key)where key is either a passphrase, a secret key or a viewing key for an existing account, orNonefor a new randomly generated accountindex:Some(x)for account at indexxorNonefor main account (same as x = 0)
Returns
account id