pathfinder_getProof RPC Method
Parameters
block_id
string
REQUIRED
Loading...
contract_address
string
REQUIRED
Loading...
key
array
REQUIRED
Loading...
Returns
result
object
Loading...
state_commitment
string
Loading...
class_commitment
string
Loading...
contract_proof
object
Loading...
binary
object
Loading...
left
string
Loading...
right
string
Loading...
edge
object
Loading...
child
string
Loading...
path
object
Loading...
value
string
Loading...
len
integer
Loading...
contract_data
object
Loading...
class_hash
string
Loading...
nonce
string
Loading...
root
string
Loading...
contract_state_hash_version
string
Loading...
storage_proofs
array
Loading...
binary
object
Loading...
left
string
Loading...
right
string
Loading...
edge
object
Loading...
child
string
Loading...
path
object
Loading...
value
string
Loading...
len
integer
Loading...
Request
1curl --location 'https://docs-demo.strk-mainnet.quiknode.pro/rpc/pathfinder/v0.1' \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '{5"jsonrpc": "2.0",6"id": 1,7"method": "pathfinder_getProof",8"params": [9"latest",10"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",11[12"0x0000000000000000000000000000000000000000000000000000000000000001"13]14]15}'
1curl --location 'https://docs-demo.strk-mainnet.quiknode.pro/rpc/pathfinder/v0.1' \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '{5"jsonrpc": "2.0",6"id": 1,7"method": "pathfinder_getProof",8"params": [9"latest",10"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",11[12"0x0000000000000000000000000000000000000000000000000000000000000001"13]14]15}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free