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, orNone
for a new randomly generated accountindex
:Some(x)
for account at indexx
orNone
for main account (same as x = 0)
Returns
account id