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
Version of the JSON-RPC protocol, should be 2.0.
Example:
"2.0"
The request identifier.
Example:
1
API method being called.
Available options:
particle_getLatestBlock
The chain ID.
Example:
1
Parameters for the API method call.