Please note that this RPC method requires the Single Flight RPC add-on enabled on your Quicknode endpoint.
Parameters
block number
string
REQUIRED
Loading...
Returns
result
Loading...
blockHash
Loading...
blockNumber
Loading...
contractAddress
Loading...
cumulativeGasUsed
Loading...
effectiveGasPrice
Loading...
from
Loading...
gasUsed
Loading...
logs
Loading...
address
Loading...
topics
Loading...
data
Loading...
blockNumber
Loading...
transactionHash
Loading...
transactionIndex
Loading...
blockHash
Loading...
logIndex
Loading...
removed
Loading...
logsBloom
Loading...
status
Loading...
to
Loading...
transactionHash
Loading...
transactionIndex
Loading...
type
Loading...
Request
1curl https://docs-demo.tron-mainnet.quiknode.pro \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"qn_getReceipts","params":["0xF7D1EC"],"id":1,"jsonrpc":"2.0"}'
1curl https://docs-demo.tron-mainnet.quiknode.pro \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"qn_getReceipts","params":["0xF7D1EC"],"id":1,"jsonrpc":"2.0"}'
1require 'eth'23client = Eth::Client.create 'https://docs-demo.tron-mainnet.quiknode.pro'45payload = {6"id":1,7"jsonrpc":"2.0",8"method":"qn_getReceipts",9"params": ["0xF7D1EC"]10}1112response = client.send(payload.to_json)13puts response
1require 'eth'23client = Eth::Client.create 'https://docs-demo.tron-mainnet.quiknode.pro'45payload = {6"id":1,7"jsonrpc":"2.0",8"method":"qn_getReceipts",9"params": ["0xF7D1EC"]10}1112response = client.send(payload.to_json)13puts response
1const ethers = require("ethers");2(async () => {3const provider = new ethers.providers.JsonRpcProvider("https://docs-demo.tron-mainnet.quiknode.pro");4const response = await provider.send("qn_getReceipts", [5"0xF7D1EC",6]);7console.log(response);8})();9
1const ethers = require("ethers");2(async () => {3const provider = new ethers.providers.JsonRpcProvider("https://docs-demo.tron-mainnet.quiknode.pro");4const response = await provider.send("qn_getReceipts", [5"0xF7D1EC",6]);7console.log(response);8})();9
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "qn_getReceipts",6"params": [7"0xF7D1EC"8],9"id": 1,10"jsonrpc": "2.0"11});1213var requestOptions = {14method: 'POST',15headers: myHeaders,16body: raw,17redirect: 'follow'18};1920fetch("https://docs-demo.tron-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"method": "qn_getReceipts",6"params": [7"0xF7D1EC"8],9"id": 1,10"jsonrpc": "2.0"11});1213var requestOptions = {14method: 'POST',15headers: myHeaders,16body: raw,17redirect: 'follow'18};1920fetch("https://docs-demo.tron-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.tron-mainnet.quiknode.pro"56payload = json.dumps({7"method": "qn_getReceipts",8"params": [9"0xF7D1EC"10],11"id": 1,12"jsonrpc": "2.0"13})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.tron-mainnet.quiknode.pro"56payload = json.dumps({7"method": "qn_getReceipts",8"params": [9"0xF7D1EC"10],11"id": 1,12"jsonrpc": "2.0"13})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.tron-mainnet.quiknode.pro")67https = Net::HTTP.new(url.host, url.port)8https.use_ssl = true910request = Net::HTTP::Post.new(url)11request["Content-Type"] = "application/json"12request.body = JSON.dump({13"method": "qn_getReceipts",14"params": [15"0xF7D1EC"16],17"id": 1,18"jsonrpc": "2.0"19})2021response = https.request(request)22puts response.read_body23
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.tron-mainnet.quiknode.pro")67https = Net::HTTP.new(url.host, url.port)8https.use_ssl = true910request = Net::HTTP::Post.new(url)11request["Content-Type"] = "application/json"12request.body = JSON.dump({13"method": "qn_getReceipts",14"params": [15"0xF7D1EC"16],17"id": 1,18"jsonrpc": "2.0"19})2021response = https.request(request)22puts response.read_body23
1from web3 import Web32w3 = Web3(Web3.HTTPProvider("https://docs-demo.tron-mainnet.quiknode.pro"))3response = w3.provider.make_request('qn_getReceipts', ["0xF7D1EC"])4print(response)5
1from web3 import Web32w3 = Web3(Web3.HTTPProvider("https://docs-demo.tron-mainnet.quiknode.pro"))3response = w3.provider.make_request('qn_getReceipts', ["0xF7D1EC"])4print(response)5
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free