/walletsolidity/gettransactionbyid REST API Endpoint
신체 매개변수
값
문자열
필수
로딩 중...
반품
ret
로딩 중...
contractRet
로딩 중...
서명
로딩 중...
txID
로딩 중...
raw_data
로딩 중...
contract
로딩 중...
parameter
로딩 중...
값
로딩 중...
금액
로딩 중...
owner_address
로딩 중...
to_address
로딩 중...
type_url
로딩 중...
유형
로딩 중...
ref_block_bytes
로딩 중...
ref_block_hash
로딩 중...
expiration
로딩 중...
fee_limit
로딩 중...
타임스탬프
로딩 중...
raw_data_hex
로딩 중...
요청
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/gettransactionbyid \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/gettransactionbyid \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/gettransactionbyid';2const 헤더 = {3'Accept': 'application/json',4'Content-Type': 'application/json'5};67const data = {8value: '7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc'9};1011가져오기(url, {12메서드: 'POST',13헤더: 헤더,14body: JSON.stringify(data)15})16.그런 다음(응답 => 응답.json())17.그런 다음(결과 => {18콘솔.log(결과);19})20.catchcatch (error => {21콘솔.오류(오류);22});23
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/gettransactionbyid';2const 헤더 = {3'Accept': 'application/json',4'Content-Type': 'application/json'5};67const data = {8value: '7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc'9};1011가져오기(url, {12메서드: 'POST',13헤더: 헤더,14body: JSON.stringify(data)15})16.그런 다음(응답 => 응답.json())17.그런 다음(결과 => {18콘솔.log(결과);19})20.catchcatch (error => {21콘솔.오류(오류);22});23
1import 요청23url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/gettransactionbyid'45헤더 = {6'수락': 'application/json',7'content-type': 'application/json'8}910데이터 = {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 요청23url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/gettransactionbyid'45헤더 = {6'수락': 'application/json',7'content-type': 'application/json'8}910데이터 = {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'3필수 'uri'45url = URI('https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/gettransactionbyid')67http = Net::HTTP.new(url.host, url.port)8http.use_ssl = true910헤더 = {11'Accept' => 'application/json',12'Content-Type' => 'application/json'13}1415데이터 = {16value: 'd7a08e7b28755d294bfb1a0dfd3e3540971269534651059dd8c3d3f53e540e8a'17}1819요청 = 순::HTTP::POST.새(URL)20요청.본문 = data.to_json21headers.each { |key, value| request[key] = value }2223답변 = http.요청(요청)2425if response.code.to_i == 20026result = JSON.parse(response.body)27puts result28else29puts "Request failed with status code: #{response.code}"30끝31
1require 'net/http'2require 'json'3필수 'uri'45url = URI('https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/gettransactionbyid')67http = Net::HTTP.new(url.host, url.port)8http.use_ssl = true910헤더 = {11'Accept' => 'application/json',12'Content-Type' => 'application/json'13}1415데이터 = {16value: 'd7a08e7b28755d294bfb1a0dfd3e3540971269534651059dd8c3d3f53e540e8a'17}1819요청 = 순::HTTP::POST.새(URL)20요청.본문 = data.to_json21headers.each { |key, value| request[key] = value }2223답변 = http.요청(요청)2425if response.code.to_i == 20026result = JSON.parse(response.body)27puts result28else29puts "Request failed with status code: #{response.code}"30끝31