Retrieve light client proof data for transaction verification
Retrieve light client proof data for transaction verification
curl -i -X POST \
https://rpc.mainnet.fastnear.com/ \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "fastnear",
"method": "light_client_proof",
"params": {
"type": "receipt",
"transaction_hash": "8a8HR2Gf8NkLLeNcuHet4JeEz9kWa1fhs6qAnBdiewrR",
"sender_id": "0-relay.hot.tg",
"light_client_head": "BnHU4MCqsNVgLRCiZteef85VYxCbNzwkWEo1cEG8Z6VX"
}
}'{ "jsonrpc": "2.0", "id": "string", "result": { "block_header_lite": { … }, "block_proof": [ … ], "outcome_proof": { … }, "outcome_root_proof": [ … ] }, "error": { "code": 0, "message": "string", "data": {} } }