/wallet/gettransactioninfobyid REST API Endpoint
身体パラメータ
値
文字列
必須
読み込み中...
返します
id
読み込み中...
手数料
読み込み中...
ブロック番号
読み込み中...
blockTimeStamp
読み込み中...
contractResult
読み込み中...
contract_address
読み込み中...
receipt
読み込み中...
結果
読み込み中...
net_fee
読み込み中...
energy_fee
読み込み中...
energy_usage
読み込み中...
energy_usage_total
読み込み中...
internal_transactions
読み込み中...
caller_address
読み込み中...
note
読み込み中...
transferTo_address
読み込み中...
callValueInfo
読み込み中...
callValue
読み込み中...
ハッシュ
読み込み中...
log
読み込み中...
住所
読み込み中...
データ
読み込み中...
トピック
読み込み中...
リクエスト
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/gettransactioninfobyid \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"value": "7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc"7}8'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/gettransactioninfobyid \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"value": "7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc"7}8'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/gettransactioninfobyid';2const ヘッダー = {3「承諾」: 'application/json',4「Content-Type」: 'application/json'5};67const データ = {8value: '7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc'9};1011フェッチ(url, {12メソッド: 'POST',13ヘッダー: ヘッダー:,14本文: JSON.stringify(data)15})16.その後(レスポンス => レスポンス.json())17.その後(結果 => {18コンソール.log(結果);19})20.catch(エラー => {21コンソール.エラー(エラー);22});23
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/gettransactioninfobyid';2const ヘッダー = {3「承諾」: 'application/json',4「Content-Type」: 'application/json'5};67const データ = {8value: '7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc'9};1011フェッチ(url, {12メソッド: 'POST',13ヘッダー: ヘッダー:,14本文: JSON.stringify(data)15})16.その後(レスポンス => レスポンス.json())17.その後(結果 => {18コンソール.log(結果);19})20.catch(エラー => {21コンソール.エラー(エラー);22});23
1import リクエスト23url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/gettransactioninfobyid'45ヘッダー = {6「accept」: 'application/json',7「content-type」: 'application/json'8}910データ = {11'value': '7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc'12}1314回答 = リクエスト.POST(url, json=data, ヘッダー=ヘッダー)1516もし レスポンス.ステータスコード == 200:17印刷(レスポンス.json())18else:19印刷('ステータスコード: でリクエストが失敗しました', レスポンス.ステータスコード)20
1import リクエスト23url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/gettransactioninfobyid'45ヘッダー = {6「accept」: 'application/json',7「content-type」: 'application/json'8}910データ = {11'value': '7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc'12}1314回答 = リクエスト.POST(url, json=data, ヘッダー=ヘッダー)1516もし レスポンス.ステータスコード == 200:17印刷(レスポンス.json())18else:19印刷('ステータスコード: でリクエストが失敗しました', レスポンス.ステータスコード)20
1require 'net/http'2require 'json'3require 'uri'45url = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/gettransactioninfobyid')67http = ネット::HTTP.new(url.ホスト, url.ポート)8http.use_ssl = true910ヘッダー = {11「承諾」 => 'application/json',12「Content-Type」 => 'application/json'13}1415データ = {16'value' => '7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc'17}1819リクエスト = ネット::HTTP::POST.new(URL)20リクエスト.本文 = data.to_json21ヘッダー.各 { |key, 値| リクエスト[キー] = 値 }2223回答 = http.リクエスト(リクエスト)2425もし レスポンス.コード.to_i == 20026結果 = JSON.parse(response.body)27結果を格納する28else29puts "Request failed with status code: #{response.code}"30終わり31
1require 'net/http'2require 'json'3require 'uri'45url = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/gettransactioninfobyid')67http = ネット::HTTP.new(url.ホスト, url.ポート)8http.use_ssl = true910ヘッダー = {11「承諾」 => 'application/json',12「Content-Type」 => 'application/json'13}1415データ = {16'value' => '7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc'17}1819リクエスト = ネット::HTTP::POST.new(URL)20リクエスト.本文 = data.to_json21ヘッダー.各 { |key, 値| リクエスト[キー] = 値 }2223回答 = http.リクエスト(リクエスト)2425もし レスポンス.コード.to_i == 20026結果 = JSON.parse(response.body)27結果を格納する28else29puts "Request failed with status code: #{response.code}"30終わり31