Merkl Developer Portal logo
get

/v4/proofs/{chainId}/{root}

Beta feature (not production ready yet) - Paginated Merkle proofs of the tree or lastTree root of a chain. Requires an API key.

Path parameters

chainIdnumber | string
required
rootstring
required

Hex Merkle root, or tree / lastTree for the current onchain roots

Query parameters

cursorstring

nextCursor of the previous page. Omit it for the first page.

itemsnumber | stringdefault: 1000

Responses

200
Response for status 200
Schema
object
chainIdnumber
required
rootstring
required
Hex root of this page. Pass it, not the alias, on the following pages.
proofsobject[]
required
recipientstring
tokenAddressstring
amountstring
proofstring[]
nextCursorstring | null
required
`null` on the last page.
Example
{
  "chainId": 0,
  "root": "string",
  "proofs": [
    {
      "recipient": "string",
      "tokenAddress": "string",
      "amount": "string",
      "proof": [
        "string"
      ]
    }
  ],
  "nextCursor": "string"
}