NodeCalls
In DEMOS, a NodeCall is a request that reads the blockchain state. NodeCall methods on the WebSDK are denoted by the "get" prefix. eg. getLastBlockNumber
Blocks
Get last block number
Retrieves the number of the latest block in the blockchain.
Get last block hash
Retrieves the hash of the latest block in the blockchain.
Get block by number
Retrieves a block by its number.
Get block by hash
Retrieves a block by its hash.
Transactions
Get transaction by hash
Retrieves a transaction by its hash.
Get all transactions
Retrieves all transactions in the blockchain.
Addresses
Get address info
Retrieves information about a specific address on the blockchain.
Peer information
Get node identity
Retrieves the identity information of the connected node.
Get peer list
Retrieves the list of peers connected to the RPC node.
Get Mempool
Retrieves the current mempool (pending transactions) of the node.
API Reference
Last updated