Account¶
account_balance¶
Returns how many RAW is owned and how many have not yet been received by account
nano.rpc.Client.account_balance(account)
account_block_count¶
Get number of blocks for a specific account
nano.rpc.Client.account_block_count(account)
account_create¶
Creates a new account, insert next deterministic key in wallet
nano.rpc.Client.account_create(wallet, work=True)
account_get¶
Get account number for the public key
nano.rpc.Client.account_get(key)
account_history¶
Reports send/receive information for a account
nano.rpc.Client.account_history(account, count)
account_info¶
Returns frontier, open block, change representative block, balance, last modified timestamp from local database & block count for account
nano.rpc.Client.account_info(account, representative=False, weight=False, pending=False)
account_key¶
Get the public key for account
nano.rpc.Client.account_key(account)
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¶
Returns the representative for account
nano.rpc.Client.account_representative(account)
account_representative_set¶
Sets the representative for account in wallet
nano.rpc.Client.account_representative_set(wallet, account, representative, work=None)
account_weight¶
Returns the voting weight for account
nano.rpc.Client.account_weight(account)
accounts_balances¶
Returns how many RAW is owned and how many have not yet been received by accounts list
nano.rpc.Client.accounts_balances(accounts)
accounts_create¶
Creates new accounts, insert next deterministic keys in wallet up to count
nano.rpc.Client.accounts_create(wallet, count, work=True)
accounts_frontiers¶
Returns a list of pairs of account and block hash representing the head block for accounts list
nano.rpc.Client.accounts_frontiers(accounts)
accounts_pending¶
Returns a list of block hashes which have not yet been received by these accounts
nano.rpc.Client.accounts_pending(accounts, count=None, threshold=None, source=False)
block_account¶
Returns the account containing block
nano.rpc.Client.block_account(hash)
delegators¶
Returns a list of pairs of delegator names given account a representative and its balance
nano.rpc.Client.delegators(account)
delegators_count¶
Get number of delegators for a specific representative account
nano.rpc.Client.delegators_count(account)
frontiers¶
Returns a list of pairs of account and block hash representing the head block starting at account up to count
nano.rpc.Client.frontiers(account, count)
ledger¶
Returns frontier, open block, change representative block, balance, last modified timestamp from local database & block count starting at account up to count
nano.rpc.Client.ledger(account, count=None, representative=False, weight=False, pending=False, sorting=False)
payment_wait¶
Wait for payment of amount to arrive in account or until timeout milliseconds have elapsed.
nano.rpc.Client.payment_wait(account, amount, timeout)
pending¶
Returns a list of pending block hashes with amount more or equal to threshold
nano.rpc.Client.pending(account, count=None, threshold=None, source=False)
receive¶
Receive pending block for account in wallet
nano.rpc.Client.receive(wallet, account, block, work=None)
send¶
Send amount from source in wallet to destination
nano.rpc.Client.send(wallet, source, destination, amount, work=None)
validate_account_number¶
Check whether account is a valid account number
nano.rpc.Client.validate_account_number(account)