Learn how to use the getLatestBlock JSON-RPC method.
getLatestBlockgetlatestBlock returns a highly detailed response containing both standard and extraneous information about the latest block on the chain associated with chainId.
This response includes full receipts of transactions contained within the latest block. This is non-toggleable.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Version of the JSON-RPC protocol, should be 2.0.
"2.0"
The request identifier.
1
API method being called.
particle_getLatestBlock The chain ID.
1
Parameters for the API method call.