getLatestBlockhash

getLatestBlockhash RPC Method

post
/

Returns the latest blockhash. This is essential for creating transactions as the blockhash is required for transaction validity.

Authorizations
AuthorizationstringOptional

Authorization header for API key authentication.

Example:

Authorization: your-api-key-here
Body
jsonrpcstring · enumRequired

JSON-RPC protocol version

Possible values:
idnumberRequired

Request identifier that will be returned in the response

methodstring · enumRequired

The RPC method name

Possible values:
Responses
post
/

Last updated