Wallet¶
account_create¶
Creates a new account, insert next deterministic key in wallet
nano.rpc.Client.account_create(wallet, work=True)
account_list¶
Lists all the accounts inside wallet
nano.rpc.Client.account_list(wallet)
account_move¶
Moves accounts from source to wallet
nano.rpc.Client.account_move(source, wallet, accounts)
account_remove¶
Remove account from wallet
nano.rpc.Client.account_remove(wallet, account)
account_representative_set¶
Sets the representative for account in wallet
nano.rpc.Client.account_representative_set(wallet, account, representative, work=None)
accounts_create¶
Creates new accounts, insert next deterministic keys in wallet up to count
nano.rpc.Client.accounts_create(wallet, count, work=True)
password_change¶
Changes the password for wallet to password
nano.rpc.Client.password_change(wallet, password)
password_enter¶
Enters the password in to wallet
nano.rpc.Client.password_enter(wallet, password)
password_valid¶
Checks whether the password entered for wallet is valid
nano.rpc.Client.password_valid(wallet)
payment_begin¶
Begin a new payment session. Searches wallet for an account that’s marked as available and has a 0 balance. If one is found, the account number is returned and is marked as unavailable. If no account is found, a new account is created, placed in the wallet, and returned.
nano.rpc.Client.payment_begin(wallet)
payment_end¶
End a payment session. Marks the account as available for use in a payment session.
nano.rpc.Client.payment_end(account, wallet)
payment_init¶
Marks all accounts in wallet as available for being used as a payment session.
nano.rpc.Client.payment_init(wallet)
receive¶
Receive pending block for account in wallet
nano.rpc.Client.receive(wallet, account, block, work=None)
search_pending¶
Tells the node to look for pending blocks for any account in wallet
nano.rpc.Client.search_pending(wallet)
send¶
Send amount from source in wallet to destination
nano.rpc.Client.send(wallet, source, destination, amount, work=None)
wallet_add¶
Add an adhoc private key key to wallet
nano.rpc.Client.wallet_add(wallet, key, work=True)
wallet_balance_total¶
Returns the sum of all accounts balances in wallet
nano.rpc.Client.wallet_balance_total(wallet)
wallet_balances¶
Returns how many rai is owned and how many have not yet been received by all accounts in wallet
nano.rpc.Client.wallet_balances(wallet)
wallet_change_seed¶
Changes seed for wallet to seed
nano.rpc.Client.wallet_change_seed(wallet, seed)
wallet_contains¶
Check whether wallet contains account
nano.rpc.Client.wallet_contains(wallet, account)
wallet_create¶
Creates a new random wallet id
nano.rpc.Client.wallet_create()
wallet_destroy¶
Destroys wallet and all contained accounts
nano.rpc.Client.wallet_destroy(wallet)
wallet_export¶
Return a json representation of wallet
nano.rpc.Client.wallet_export(wallet)
wallet_frontiers¶
Returns a list of pairs of account and block hash representing the head block starting for accounts from wallet
nano.rpc.Client.wallet_frontiers(wallet)
wallet_key_valid¶
Returns if a wallet key is valid
nano.rpc.Client.wallet_key_valid(wallet)
wallet_lock¶
Locks a wallet
nano.rpc.Client.wallet_lock(wallet)
wallet_locked¶
Checks whether wallet is locked
nano.rpc.Client.wallet_locked(wallet)
wallet_pending¶
Returns a list of block hashes which have not yet been received by accounts in this wallet
nano.rpc.Client.wallet_pending(wallet, count=None, threshold=None, source=False)
wallet_representative¶
Returns the default representative for wallet
nano.rpc.Client.wallet_representative(wallet)
wallet_representative_set¶
Sets the default representative for wallet
nano.rpc.Client.wallet_representative_set(wallet, representative)
wallet_republish¶
Rebroadcast blocks for accounts from wallet starting at frontier down to count to the network
nano.rpc.Client.wallet_republish(wallet, count)
wallet_unlock¶
Unlocks wallet using password
nano.rpc.Client.wallet_unlock(wallet, password)