Body Parameters
value
integer
REQUIRED
Loading...
Returns
id
Loading...
fee
Loading...
blockNumber
Loading...
blockTimeStamp
Loading...
contractResult
Loading...
contract_address
Loading...
receipt
Loading...
result
Loading...
net_fee
Loading...
energy_fee
Loading...
energy_usage
Loading...
energy_usage_total
Loading...
internal_transactions
Loading...
caller_address
Loading...
note
Loading...
transferTo_address
Loading...
callValueInfo
Loading...
callValue
Loading...
hash
Loading...
log
Loading...
address
Loading...
data
Loading...
topics
Loading...
Request
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/gettransactioninfobyid \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"value": "d7a08e7b28755d294bfb1a0dfd3e3540971269534651059dd8c3d3f53e540e8a"7}8'
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/gettransactioninfobyid \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"value": "d7a08e7b28755d294bfb1a0dfd3e3540971269534651059dd8c3d3f53e540e8a"7}8'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/gettransactioninfobyid';2const headers = {3'Accept': 'application/json',4'Content-Type': 'application/json'5};67const data = {8value: 'd7a08e7b28755d294bfb1a0dfd3e3540971269534651059dd8c3d3f53e540e8a'9};1011fetch(url, {12method: 'POST',13headers: headers,14body: JSON.stringify(data)15})16.then(response => response.json())17.then(result => {18console.log(result);19})20.catch(error => {21console.error(error);22});23
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/gettransactioninfobyid';2const headers = {3'Accept': 'application/json',4'Content-Type': 'application/json'5};67const data = {8value: 'd7a08e7b28755d294bfb1a0dfd3e3540971269534651059dd8c3d3f53e540e8a'9};1011fetch(url, {12method: 'POST',13headers: headers,14body: JSON.stringify(data)15})16.then(response => response.json())17.then(result => {18console.log(result);19})20.catch(error => {21console.error(error);22});23
1import requests23url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/gettransactioninfobyid'45headers = {6'accept': 'application/json',7'content-type': 'application/json'8}910data = {11'value': 'd7a08e7b28755d294bfb1a0dfd3e3540971269534651059dd8c3d3f53e540e8a'12}1314response = requests.post(url, json=data, headers=headers)1516if response.status_code == 200:17print(response.json())18else:19print('Request failed with status code:', response.status_code)20
1import requests23url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/gettransactioninfobyid'45headers = {6'accept': 'application/json',7'content-type': 'application/json'8}910data = {11'value': 'd7a08e7b28755d294bfb1a0dfd3e3540971269534651059dd8c3d3f53e540e8a'12}1314response = requests.post(url, json=data, headers=headers)1516if response.status_code == 200:17print(response.json())18else:19print('Request failed with status code:', response.status_code)20
1require 'net/http'2require 'json'3require 'uri'45url = URI('https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/gettransactioninfobyid')67http = Net::HTTP.new(url.host, url.port)8http.use_ssl = true910headers = {11'Accept' => 'application/json',12'Content-Type' => 'application/json'13}1415data = {16'value' => 'd7a08e7b28755d294bfb1a0dfd3e3540971269534651059dd8c3d3f53e540e8a'17}1819request = Net::HTTP::Post.new(url)20request.body = data.to_json21headers.each { |key, value| request[key] = value }2223response = http.request(request)2425if response.code.to_i == 20026result = JSON.parse(response.body)27puts result28else29puts "Request failed with status code: #{response.code}"30end31
1require 'net/http'2require 'json'3require 'uri'45url = URI('https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/gettransactioninfobyid')67http = Net::HTTP.new(url.host, url.port)8http.use_ssl = true910headers = {11'Accept' => 'application/json',12'Content-Type' => 'application/json'13}1415data = {16'value' => 'd7a08e7b28755d294bfb1a0dfd3e3540971269534651059dd8c3d3f53e540e8a'17}1819request = Net::HTTP::Post.new(url)20request.body = data.to_json21headers.each { |key, value| request[key] = value }2223response = http.request(request)2425if response.code.to_i == 20026result = JSON.parse(response.body)27puts result28else29puts "Request failed with status code: #{response.code}"30end31
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free