EXPERIMENTAL_receipt RPC Method
Parameters
receipt_id
string
Loading...
Returns
predecessor_id
Loading...
receipt
Loading...
Action
Loading...
actions
Loading...
transfer
Loading...
deposit
Loading...
gas_price
Loading...
input_data_ids
Loading...
output_data_receivers
Loading...
signer_id
Loading...
signer_public_key
Loading...
receipt_id
Loading...
receiver_id
Loading...
Request
1curl https://docs-demo.near-mainnet.quiknode.pro/ \2--request POST \3--header "Content-Type: application/json" \4--data '{"jsonrpc": "2.0","method": "EXPERIMENTAL_receipt", "params": ["26ojqLfaArc9qviq3CKiSMyeMCRvL2XE8hETFZFdkaGh"],"id": 1}'
1curl https://docs-demo.near-mainnet.quiknode.pro/ \2--request POST \3--header "Content-Type: application/json" \4--data '{"jsonrpc": "2.0","method": "EXPERIMENTAL_receipt", "params": ["26ojqLfaArc9qviq3CKiSMyeMCRvL2XE8hETFZFdkaGh"],"id": 1}'
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"jsonrpc": "2.0",6"method": "EXPERIMENTAL_receipt",7"params": [8"26ojqLfaArc9qviq3CKiSMyeMCRvL2XE8hETFZFdkaGh"9],10"id": 111});1213var requestOptions = {14method: 'POST',15headers: myHeaders,16body: raw,17redirect: 'follow'18};1920fetch("https://docs-demo.near-mainnet.quiknode.pro/", requestOptions)21.then(response => response.text())22.then(result => console.log(result))23.catch(error => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"jsonrpc": "2.0",6"method": "EXPERIMENTAL_receipt",7"params": [8"26ojqLfaArc9qviq3CKiSMyeMCRvL2XE8hETFZFdkaGh"9],10"id": 111});1213var requestOptions = {14method: 'POST',15headers: myHeaders,16body: raw,17redirect: 'follow'18};1920fetch("https://docs-demo.near-mainnet.quiknode.pro/", requestOptions)21.then(response => response.text())22.then(result => console.log(result))23.catch(error => console.log('error', error));
1import requests2import json34url = "https://docs-demo.near-mainnet.quiknode.pro/"56payload = json.dumps({7"jsonrpc": "2.0",8"method": "EXPERIMENTAL_receipt",9"params": [10"26ojqLfaArc9qviq3CKiSMyeMCRvL2XE8hETFZFdkaGh"11],12"id": 113})14headers = {15'Content-Type': 'application/json'16}1718response = requests.request("POST", url, headers=headers, data=payload)1920print(response.text)21
1import requests2import json34url = "https://docs-demo.near-mainnet.quiknode.pro/"56payload = json.dumps({7"jsonrpc": "2.0",8"method": "EXPERIMENTAL_receipt",9"params": [10"26ojqLfaArc9qviq3CKiSMyeMCRvL2XE8hETFZFdkaGh"11],12"id": 113})14headers = {15'Content-Type': 'application/json'16}1718response = requests.request("POST", url, headers=headers, data=payload)1920print(response.text)21
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.near-mainnet.quiknode.pro/")67https = Net::HTTP.new(url.host, url.port);8https.use_ssl = true9request = Net::HTTP::Post.new(url)10request["Content-Type"] = "application/json"11request.body = JSON.dump({12"jsonrpc": "2.0",13"method": "EXPERIMENTAL_receipt",14"params": [15"26ojqLfaArc9qviq3CKiSMyeMCRvL2XE8hETFZFdkaGh"16],17"id": 118})1920response = https.request(request)21puts response.read_body22
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.near-mainnet.quiknode.pro/")67https = Net::HTTP.new(url.host, url.port);8https.use_ssl = true9request = Net::HTTP::Post.new(url)10request["Content-Type"] = "application/json"11request.body = JSON.dump({12"jsonrpc": "2.0",13"method": "EXPERIMENTAL_receipt",14"params": [15"26ojqLfaArc9qviq3CKiSMyeMCRvL2XE8hETFZFdkaGh"16],17"id": 118})1920response = https.request(request)21puts response.read_body22
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free