latest/hash

Description

Returns the latest block hash from Aleo blockchain.

Method Parameters

  • <empty>

Returns

  • result - Object:

    • block_hash - string: Bech32 representation of Aleo block hash, ab prefix.

Example

Request

curl --location --request POST 'https://testnetbeta.aleorpc.com' \
 --header 'Content-Type: application/json' \
 --data-raw '{
     "jsonrpc": "2.0",
     "id": 1,
     "method": "latest/hash"
 }'

Response

Last updated