Skip to main content
POST
/
signature-nonce
Get Signature Nonce
curl --request POST \
  --url https://api.example.com/signature-nonce \
  --header 'Content-Type: application/json' \
  --data '
{
  "leaf_index": "0x1"
}
'
{
  "signature_nonce": "0x0"
}

Body

application/json

Query for the indexer based on a leaf index.

Used for getting inclusion proofs and signature nonces.

leaf_index
string<hex>
required

The leaf index to query (from the AccountRegistry)

Example:

"0x1"

Response

200 - application/json

Response containing the signature nonce from the indexer.

signature_nonce
string<hex>
required

The signature nonce for the account

Example:

"0x0"