cURL
curl --request POST \ --url https://api.mainnet.abs.xyz/zks_getProof \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": 1, "method": "zks_getProof", "params": [ "0x0000000000000000000000000000000000008003", [ "0x8b65c0cf1012ea9f393197eb24619fd814379b298b238285649e14f936a5eb12" ], 354895 ] }'
{ "jsonrpc": "2.0", "result": { "address": "0x0000000000000000000000000000000000008003", "storageProof": [ { "key": "0x8b65c0cf1012ea9f393197eb24619fd814379b298b238285649e14f936a5eb12", "proof": [ "0xe3e8e49a998b3abf8926f62a5a832d829aadc1b7e059f1ea59ffbab8e11edfb7" ] } ] }, "id": 1 }
Generates Merkle proofs for one or more storage values associated with a specific account, accompanied by a proof of their authenticity
JSON-RPC version
The RPC method to be invoked
Request identifier
Parameters for generating proofs
3
Returns the account details and proofs for storage keys
"2.0"
Show child attributes
1
Was this page helpful?