getStateRoot

Description

Returns the latest state root.

Method Parameters

  • <empty>

Returns

  • result - string: Bech 32 representation of latest state root (prefix: sr).

Example

Request

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

Response

Last updated