NERVA Public API
Daemon
Wallet
wallet/get_transfers
Gets the transfers to/from the wallet.
account_index: Index to get the transfer for (optional, default: 0)
min_height: The minimum height to return results from (optional, default: 0)
wallet/get_address
Gets the address of the wallet.
NOTE: RPC wallet must have --wallet-dir flag set to work
account_index: The file name of the newly created wallet
wallet/get_balance
Gets the balance of the wallet.
NOTE: RPC wallet must have --wallet-dir flag set to work
account_index: Index to get the balance of (optional, default: 0)
wallet/create_wallet
Creates a new wallet.
NOTE: RPC wallet must have --wallet-dir flag set to work
WARNING: This function requires you to send your password to the server
filename: the faile name of the newly created wallet
password: Password of the new wallet (optional)
language: the private view key of the receiver (optional, default to English)
wallet/sweep_all
Transfer funds
address: Address to transfer to
amount: Amount to send in atomic units
wallet/open_wallet
Opens a wallet.
NOTE: RPC wallet must have --wallet-dir flag set to work
WARNING: This function requires you to send your wallet password to the server
filename: The file name of the newly created wallet
password: Password of the new wallet (optional, leave blank for no password)
wallet/restore_wallet_from_seed
Creates a new wallet.
NOTE: RPC wallet must have --wallet-dir flag set to work
WARNING: This function requires you to send your restored wallet password to the server
WARNING: This function requires you to send your mnemonic seed to the server
filename: the file name of the newly created wallet
seed: The mnemonic seed of the wallet to restore
seed_offset: The offset used to originally generate the seed (optional, default: null)
password: Password of the new wallet (optional)
language: the private view key of the receiver (optional, default: English)
restore_height: The height to restore the wallet from (optional, default: 0)
wallet/restore_wallet_from_keys
Creates a new wallet.
NOTE: RPC wallet must have --wallet-dir flag set to work
WARNING: This function requires you to send your restored wallet password to the server
WARNING: This function requires you to send your private keys to the server
filename: The file name of the newly created wallet
address: The address of the wallet to restore
spendkey: The private spend key of the wallet to restore
viewkey: The private view key of the wallet to restore
password: Password of the new wallet (optional)
language: The language to use for the restored wallet seed (optional, default: 'English')
restore_height: The height to restore the wallet from (optional, default: 0)
wallet/sweep_dust
Sweeps the dust outputs back to the wallet.
wallet/close_wallet
Closes the open wallet.
NOTE: RPC wallet must have --wallet-dir flag set to work
wallet/transfer
Transfer funds
address: Address to transfer to
amount: Amount to send in atomic units
External
Analytics