/wallet/gettransactionbyid REST API Endpoint
신체 측정값
값
문자열
필수
로딩 중...
보이는
부울
로딩 중...
반품
ret
로딩 중...
contractRet
로딩 중...
서명
로딩 중...
txID
로딩 중...
원시 데이터
로딩 중...
계약
로딩 중...
매개변수
로딩 중...
값
로딩 중...
금액
로딩 중...
소유자 주소
로딩 중...
to_address
로딩 중...
type_url
로딩 중...
유형
로딩 중...
ref_block_bytes
로딩 중...
ref_block_hash
로딩 중...
만료
로딩 중...
수수료 한도
로딩 중...
타임스탬프
로딩 중...
raw_data_hex
로딩 중...
요청
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/gettransactionbyid \2--header 'accept: application/json' \3--헤더 'content-type: application/json' \4--데이터 '5{6"value": "7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc",7"visible": true8}9'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/gettransactionbyid \2--header 'accept: application/json' \3--헤더 'content-type: application/json' \4--데이터 '5{6"value": "7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc",7"visible": true8}9'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/gettransactionbyid';2const 헤더 = {3'수락': 'application/json',4'Content-Type': 'application/json'5};67const data = {8value: '7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc',9표시됨: true10};1112가져오기fetch (url, {13메서드: 'POST',14헤더: 헤더,15본문: JSON.stringify(data)16})17.그런 다음(응답 => 응답.json())18.그런 다음(결과 => {19콘솔.log(결과);20})21.catchcatch (오류 => {22콘솔.오류(오류);23});24
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/gettransactionbyid';2const 헤더 = {3'수락': 'application/json',4'Content-Type': 'application/json'5};67const data = {8value: '7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc',9표시됨: true10};1112가져오기fetch (url, {13메서드: 'POST',14헤더: 헤더,15본문: JSON.stringify(data)16})17.그런 다음(응답 => 응답.json())18.그런 다음(결과 => {19콘솔.log(결과);20})21.catchcatch (오류 => {22콘솔.오류(오류);23});24
1import 요청23url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/gettransactionbyid'45헤더 = {6'수락': 'application/json',7'content-type': 'application/json'8}910데이터 = {11"value": "7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc",12"보이는": True13}1415답변 = 요청.post(url, json=data, 헤더=헤더)1617만약 응답.status_code == 200:18인쇄(응답.json())19else:20인쇄("상태 코드:로 인해 요청이 실패했습니다:", 응답.status_code)21
1import 요청23url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/gettransactionbyid'45헤더 = {6'수락': 'application/json',7'content-type': 'application/json'8}910데이터 = {11"value": "7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc",12"보이는": True13}1415답변 = 요청.post(url, json=data, 헤더=헤더)1617만약 응답.status_code == 200:18인쇄(응답.json())19else:20인쇄("상태 코드:로 인해 요청이 실패했습니다:", 응답.status_code)21
1require 'net/http'2require 'json'3필수 'uri'45url = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/gettransactionbyid')67http = Net::HTTP.new(url.호스트, url.포트)8http.use_ssl = true910헤더 = {11'수락' => 'application/json',12'Content-Type' => 'application/json'13}1415데이터 = {16value: '7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc',17표시됨: true18}1920요청 = 순::HTTP::POST.새(URL)21요청.본문 = data.to_json22헤더.각 { |key, 값| 요청[키] = 값 }2324답변 = http.요청(요청)2526만약 응답.코드.to_i == 20027결과 = JSON.parse(response.body)28결과를 출력합니다29else30puts "Request failed with status code: #{response.code}"31끝32
1require 'net/http'2require 'json'3필수 'uri'45url = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/gettransactionbyid')67http = Net::HTTP.new(url.호스트, url.포트)8http.use_ssl = true910헤더 = {11'수락' => 'application/json',12'Content-Type' => 'application/json'13}1415데이터 = {16value: '7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc',17표시됨: true18}1920요청 = 순::HTTP::POST.새(URL)21요청.본문 = data.to_json22헤더.각 { |key, 값| 요청[키] = 값 }2324답변 = http.요청(요청)2526만약 응답.코드.to_i == 20027결과 = JSON.parse(response.body)28결과를 출력합니다29else30puts "Request failed with status code: #{response.code}"31끝32