/v1/transactions/by_hash/{txn_hash} REST API Endpoint
路徑參數
txn_hash
字串
必填
載入中...
退貨
類型
載入中...
hash
載入中...
寄件人
載入中...
sequence_number
載入中...
max_gas_amount
載入中...
gas_unit_price
載入中...
expiration_timestamp_secs
載入中...
payload
載入中...
類型
載入中...
function
載入中...
type_arguments
載入中...
arguments
載入中...
簽名
載入中...
類型
載入中...
公開金鑰
載入中...
簽名
載入中...
請求
1curl -X 'GET' https://docs-demo.aptos-mainnet.quiknode.pro/v1/transactions/by_hash/0xbe9e71660e128e0e3e1f082c394f7b1bd2f4cb9c52207fe63cf4c8e7eb080e9d/ \2-H 'Content-Type: application/json'
1curl -X 'GET' https://docs-demo.aptos-mainnet.quiknode.pro/v1/transactions/by_hash/0xbe9e71660e128e0e3e1f082c394f7b1bd2f4cb9c52207fe63cf4c8e7eb080e9d/ \2-H 'Content-Type: application/json'
1var myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34var requestOptions = {5method: 'GET',6標題: myHeaders,7redirect: 'follow'8};910fetch("https://docs-demo.aptos-mainnet.quiknode.pro/v1/transactions/by_hash/0xbe9e71660e128e0e3e1f082c394f7b1bd2f4cb9c52207fe63cf4c8e7eb080e9d/", requestOptions)11.then(response => response.text())12.then(result => console.log(result))13.catch(error => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34var requestOptions = {5method: 'GET',6標題: myHeaders,7redirect: 'follow'8};910fetch("https://docs-demo.aptos-mainnet.quiknode.pro/v1/transactions/by_hash/0xbe9e71660e128e0e3e1f082c394f7b1bd2f4cb9c52207fe63cf4c8e7eb080e9d/", requestOptions)11.then(response => response.text())12.then(result => console.log(result))13.catch(error => console.log('error', error));
1匯入 請求2import json34url = "https://docs-demo.aptos-mainnet.quiknode.pro/v1/transactions/by_hash/0xbe9e71660e128e0e3e1f082c394f7b1bd2f4cb9c52207fe63cf4c8e7eb080e9d/"56有效載荷 = {}7標題 = {8「Content-Type」: 'application/json'9}1011回應 = 請求.請求("GET", url, headers=headers, data=有效載荷)1213列印(回應.text)14
1匯入 請求2import json34url = "https://docs-demo.aptos-mainnet.quiknode.pro/v1/transactions/by_hash/0xbe9e71660e128e0e3e1f082c394f7b1bd2f4cb9c52207fe63cf4c8e7eb080e9d/"56有效載荷 = {}7標題 = {8「Content-Type」: 'application/json'9}1011回應 = 請求.請求("GET", url, headers=headers, data=有效載荷)1213列印(回應.text)14
1需要 "uri"2require "json"3需要 "net/http"45url = URI("https://docs-demo.aptos-mainnet.quiknode.pro/v1/transactions/by_hash/0xbe9e71660e128e0e3e1f082c394f7b1bd2f4cb9c52207fe63cf4c8e7eb080e9d/")67https = 網::HTTP.new(url.主機, url.port)8https.use_ssl = true910請求 = 淨::HTTP::Get.new(url)11請求["Content-Type"] = "application/json"1213回應 = https.請求(請求)14將回應。read_body15
1需要 "uri"2require "json"3需要 "net/http"45url = URI("https://docs-demo.aptos-mainnet.quiknode.pro/v1/transactions/by_hash/0xbe9e71660e128e0e3e1f082c394f7b1bd2f4cb9c52207fe63cf4c8e7eb080e9d/")67https = 網::HTTP.new(url.主機, url.port)8https.use_ssl = true910請求 = 淨::HTTP::Get.new(url)11請求["Content-Type"] = "application/json"1213回應 = https.請求(請求)14將回應。read_body15