post https://api.infstones.com/theta/mainnet/
Returns the hexadecimal number of the most recent block.
Parameters
None
Result
A hex code of an integer that represents the current block number the client is on.
Example
Request
curl <your-endpoint> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":0}'
Return
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x128559d"
}