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_index | Return the amount of wallets. | ||
/get_total_transaction_sync | Return the amount of transaction(s) synced. | ||
/get_wallet_address_by_index|wallet_index | wallet_index | long | Return the wallet address from an index selected. |
/get_wallet_balance_by_index|wallet_index | wallet_index | long | Return the wallet balance from an index selected. |
/get_wallet_balance_by_wallet_address|wallet_address | wallet_address | string | Return the wallet balance from a wallet address selected. |
/get_wallet_total_transaction_by_index|wallet_index | wallet_index | long | Return the amount of transaction(s) from a wallet index selected. |
/get_total_anonymous_transaction_by_index|wallet_index | wallet_index | long | Return the amount of anonymous transaction(s) from a wallet index selected. |
/get_wallet_total_transaction_by_wallet_address|wallet_address | wallet_address | string | Return the amount of transaction(s) from a wallet address selected. |
/get_total_anonymous_transaction_by_wallet_address|wallet_address | wallet_address | string | Return the amount of transaction(s) from a wallet address selected. |
/get_wallet_transaction|wallet_address|transaction_index | wallet_address|transaction_index | string | long | Return a transaction from a transaction index and a wallet address selected. |
/get_wallet_anonymous_transaction|transaction_index|wallet_address | transaction_index|wallet_address | long | string | Return an anonymous transaction from a transaction index and a wallet address selected. |
/get_whole_wallet_transaction_by_range|start_index|end_index | start_index|end_index | long | long | Return multiple transaction(s) from a range. |
/get_wallet_transaction_by_hash|wallet_address|transaction_hash | wallet_address|transaction_hash | string | Return a wallet transaction from a transaction hash linked to a wallet address. |
/get_transaction_by_hash|transaction_hash | transaction_hash | string | Return a wallet transaction from his transaction hash. |
/send_transaction_by_wallet_address|wallet_address_src|amount|fee|anonymous_option|wallet_address_target | wallet_address_src|amount|fee|anonymous_option|wallet_address_target | string | double | double | int | string | Send a transaction from a wallet source to a wallet address target. |
/send_transfer_by_wallet_address|wallet_address_src|amount|wallet_address_target | wallet_address_src|amount|wallet_address_target | string | double | string | Send 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_target | wallet_address_src|amount|fee|anonymous_option|wallet_address_target | string | double | double | int | string | Create a task to send a transaction from a wallet to a wallet address target. |
/task_send_transfer|wallet_address_src|amount|wallet_address_target | wallet_address_src|amount|wallet_address_target | string | double | string | Create a task to send a transfer from a wallet to another one inside of the RPC Wallet. |
/update_wallet_by_address|wallet_address | wallet_address | string | Force the update of a wallet from a wallet address. |
/update_wallet_by_index|wallet_index | wallet_index | long | Force the update of a wallet from an index. |
/create_wallet|timeout | timeout | int | Create a wallet, return the wallet address generated. |