This tool will test all the Rest API endpoints of Proxy using erdjs.
Please load and sync the account before running tests. Otherwise, the tests will fail. After loading the account, it's address will be displayed. In order to run the tests successfully, please mint the address so it can send transactions.
Tests that involve transaction sending are skipped when pressing the 'Run Tests' button because they will have nonce issues as they use the same account. Test them separately and with a delay between them so the nonce will be correct assuming the continuous transactions flow.
Gets data about an address.
Gets data about an address.
Gets the nonce of an address.
Gets the balance of an address.
Gets the shard of an address.
Gets the transactions of an address.
Gets the heartbeat list.
Gets the heartbeat list.
Gets the current network configuration.
Gets the network status for a given shard.
Sends a transaction.
Sends 2 transactions.
Gets the validator statistics.
Gets the vm values query. Tested with the auction smart contract address with the
function getQueueSize
Gets the vm values query and returns as int. Tested with the auction smart contract
address with the function getQueueSize
Gets the vm values query and returns as string. Tested with the auction smart contract
address with the function getQueueSize