Skip to content

Latest commit

 

History

History
41 lines (36 loc) · 4.7 KB

xenophyte-rpc-wallet-json-api.md

File metadata and controls

41 lines (36 loc) · 4.7 KB

List of the API RPC Wallet request.

This file contain every requests and their arguments of the API.

You can retrieve stats, control wallets, send transactions by this API.

Of course, by security follow the part 4 of this tutorial to secure your API from bad incoming entry: https://github.com/Xenophyte-coin/Xenophyte-RPC-Wallet/wiki/How-to-setting-Xenophyte-RPC-Wallet-configuration-file

Request Argument(s) Argument(s) type(s) Result(s)
/get_wallet_indexReturn the amount of wallets.
/get_total_transaction_syncReturn the amount of transaction(s) synced.
/get_wallet_address_by_index|wallet_indexwallet_indexlongReturn the wallet address from an index selected.
/get_wallet_balance_by_index|wallet_indexwallet_indexlongReturn the wallet balance from an index selected.
/get_wallet_balance_by_wallet_address|wallet_addresswallet_addressstringReturn the wallet balance from a wallet address selected.
/get_wallet_total_transaction_by_index|wallet_indexwallet_indexlongReturn the amount of transaction(s) from a wallet index selected.
/get_total_anonymous_transaction_by_index|wallet_indexwallet_indexlongReturn the amount of anonymous transaction(s) from a wallet index selected.
/get_wallet_total_transaction_by_wallet_address|wallet_addresswallet_addressstringReturn the amount of transaction(s) from a wallet address selected.
/get_total_anonymous_transaction_by_wallet_address|wallet_addresswallet_addressstringReturn the amount of transaction(s) from a wallet address selected.
/get_wallet_transaction|wallet_address|transaction_indexwallet_address|transaction_indexstring | longReturn a transaction from a transaction index and a wallet address selected.
/get_wallet_anonymous_transaction|transaction_index|wallet_addresstransaction_index|wallet_addresslong | stringReturn an anonymous transaction from a transaction index and a wallet address selected.
/get_whole_wallet_transaction_by_range|start_index|end_indexstart_index|end_indexlong | longReturn multiple transaction(s) from a range.
/get_wallet_transaction_by_hash|wallet_address|transaction_hashwallet_address|transaction_hashstringReturn a wallet transaction from a transaction hash linked to a wallet address.
/get_transaction_by_hash|transaction_hashtransaction_hashstringReturn a wallet transaction from his transaction hash.
/send_transaction_by_wallet_address|wallet_address_src|amount|fee|anonymous_option|wallet_address_targetwallet_address_src|amount|fee|anonymous_option|wallet_address_targetstring | double | double | int | stringSend a transaction from a wallet source to a wallet address target.
/send_transfer_by_wallet_address|wallet_address_src|amount|wallet_address_targetwallet_address_src|amount|wallet_address_targetstring | double | stringSend a transfer from a wallet to another one inside of the RPC Wallet.
/task_send_transaction|wallet_address_src|amount|fee|anonymous_option|wallet_address_targetwallet_address_src|amount|fee|anonymous_option|wallet_address_targetstring | double | double | int | stringCreate a task to send a transaction from a wallet to a wallet address target.
/task_send_transfer|wallet_address_src|amount|wallet_address_targetwallet_address_src|amount|wallet_address_targetstring | double | stringCreate a task to send a transfer from a wallet to another one inside of the RPC Wallet.
/update_wallet_by_address|wallet_addresswallet_addressstringForce the update of a wallet from a wallet address.
/update_wallet_by_index|wallet_indexwallet_indexlongForce the update of a wallet from an index.
/create_wallet|timeouttimeoutintCreate a wallet, return the wallet address generated.