Aurora nodes accept HTTP requests using the JSON-RPC 2.0 specification.
Returns most recent block number
curl https://aurora-mainnet-rpc.allthatnode.com/'YOUR-API-KEY' \ --request POST \ --header "Content-Type: application/json" \ --data '{ "jsonrpc":"2.0", "method":"eth_blockNumber","params":[],"id":1}'
{ "jsonrpc": "2.0", "result": "0x425fef3", "id": 1 }
Last updated 2 years ago