/v1/transactions/by_hash/{txn_hash} REST API Endpoint
路径参数
txn_hash
字符串
必填
正在加载...
退货
类型
正在加载...
哈希
正在加载...
sender
正在加载...
sequence_number
正在加载...
max_gas_amount
正在加载...
gas_unit_price
正在加载...
expiration_timestamp_secs
正在加载...
有效载荷
正在加载...
类型
正在加载...
函数
正在加载...
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,7重定向: 'follow'8};910fetch("https://docs-demo.aptos-mainnet.quiknode.pro/v1/transactions/by_hash/0xbe9e71660e128e0e3e1f082c394f7b1bd2f4cb9c52207fe63cf4c8e7eb080e9d/", requestOptions)11.然后(响应 => 响应.text())12.然后(结果 => 控制台.log(result))13.catch(error => 控制台.log('error', error));
1var myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34var requestOptions = {5method: 'GET',6标题: myHeaders,7重定向: 'follow'8};910fetch("https://docs-demo.aptos-mainnet.quiknode.pro/v1/transactions/by_hash/0xbe9e71660e128e0e3e1f082c394f7b1bd2f4cb9c52207fe63cf4c8e7eb080e9d/", requestOptions)11.然后(响应 => 响应.text())12.然后(结果 => 控制台.log(result))13.catch(error => 控制台.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
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.aptos-mainnet.quiknode.pro/v1/transactions/by_hash/0xbe9e71660e128e0e3e1f082c394f7b1bd2f4cb9c52207fe63cf4c8e7eb080e9d/")67https = Net::HTTP.new(url.主机, url.端口)8https.use_ssl = true910请求 = Net::HTTP::Get.new(url)11请求["Content-Type"] = "application/json"1213回复 = https.请求(请求)14返回响应.read_body15
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.aptos-mainnet.quiknode.pro/v1/transactions/by_hash/0xbe9e71660e128e0e3e1f082c394f7b1bd2f4cb9c52207fe63cf4c8e7eb080e9d/")67https = Net::HTTP.new(url.主机, url.端口)8https.use_ssl = true910请求 = Net::HTTP::Get.new(url)11请求["Content-Type"] = "application/json"1213回复 = https.请求(请求)14返回响应.read_body15