EVM Enhanced RPC
getLatestBlock
Learn how to use the getLatestBlock JSON-RPC method.
POST
Contextualizing getLatestBlock
-
getlatestBlock
returns a highly detailed response containing both standard and extraneous information about the latest block on the chain associated withchainId
.This response includes full receipts of transactions contained within the latest block. This is non-toggleable.
Returned receipts contain the following attributes
JSON
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
application/json
The chain ID.
The request identifier.
Version of the JSON-RPC protocol, should be 2.0.
API method being called.
Available options:
particle_getLatestBlock
Parameters for the API method call.
Was this page helpful?