Url of the blockchain node
Get the balance of some address. The result contains ONT and ONG.
Address
Get block info by block's height or hash. The result is hex encoded string.
Block's height or hash
Get the all blocks count.
Get the current block height.
Get block height by transaction hash
Reversed transaction hash
Get block info by block's height or hash. The result is json.
Block's hash or height
Get contract info by contract' code hash. The result is hex encoded string.
Contract's code hash.
Get contract info by contract's code hash. The result is json.
Contract's code hash.
Get the generation time for each block. If the blockchain node runs in vbft, the result is null cause the time is not fixed.
Get merkle proof by transaction hash.
Reversed transaction hash
Get the nodes count.
Get raw transaction by transaction hash. The result is hex encoded string.
Reversed transaction hash
Get transaction info by transaction hash. The result is json.
Reversed transaction hash.
Get smart contract event. If parameter is transaction's hash, the result is the event of that transaction. If parameter is block's height, the result is all the events of that block.
Transaction's hash or block's height
Get stored value in smart contract by contract's code hash and the key.
Contract's code hash
Key of stored value
Get the current blockchain node url.
Make request base on method and parameters
Method's name
Parameters
Send ran transaction to blockchain.
Hex encoded data.
Decides if it is a pre-execute transaction.
Generated using TypeDoc
Wrapper class for RPC apis.