Returns the current block number.
curl --request POST \ --url https://rpc.quai.network/cyprus1/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "method": "quai_blockNumber", "params": [], "id": 1 }'
{ "jsonrpc": "2.0", "result": "0x10d4f", "id": 1 }
The response is of type object.
object
Was this page helpful?