tx REST API 端點
查詢參數
hash
字串
必填
載入中...
證明
布林值
必填
載入中...
退貨
結果
物件
載入中...
hash
載入中...
高度
載入中...
目錄
載入中...
tx_result
物件
載入中...
程式碼
載入中...
資料
載入中...
日誌
載入中...
gas_wanted
載入中...
gas_used
載入中...
資訊
載入中...
程式碼空間
載入中...
活動
陣列
載入中...
類型
載入中...
屬性
陣列
載入中...
關鍵字
載入中...
值
載入中...
目錄
載入中...
tx
載入中...
請求
1curl --location 'https://docs-demo.cosmos-mainnet.quiknode.pro/tx?hash=0x29452510AC68D7C63E3B45024BE446DB03A3CFCC595AA88723C4DE4C8DB57956&prove=true'
1curl --location 'https://docs-demo.cosmos-mainnet.quiknode.pro/tx?hash=0x29452510AC68D7C63E3B45024BE446DB03A3CFCC595AA88723C4DE4C8DB57956&prove=true'
1curl --location 'https://docs-demo.cosmos-mainnet.quiknode.pro/' \2--標頭 'Content-Type: application/json' \3--data '{4"jsonrpc": "2.0",5"method": "tx",6"params": ["0x29452510AC68D7C63E3B45024BE446DB03A3CFCC595AA88723C4DE4C8DB57956", true],7"id": 18}'
1curl --location 'https://docs-demo.cosmos-mainnet.quiknode.pro/' \2--標頭 'Content-Type: application/json' \3--data '{4"jsonrpc": "2.0",5"method": "tx",6"params": ["0x29452510AC68D7C63E3B45024BE446DB03A3CFCC595AA88723C4DE4C8DB57956", true],7"id": 18}'
1const requestOptions = {2方法: "GET",3重定向: 「追蹤」4};56取得(「https://docs-demo.cosmos-mainnet.quiknode.pro/tx?hash=0x29452510AC68D7C63E3B45024BE446DB03A3CFCC595AA88723C4DE4C8DB57956&prove=true」, requestOptions)7.接著((回應) => 回應.文字())8.接著((結果) => 控制台.log(結果))9.catch((錯誤) => 控制台.錯誤(錯誤));
1const requestOptions = {2方法: "GET",3重定向: 「追蹤」4};56取得(「https://docs-demo.cosmos-mainnet.quiknode.pro/tx?hash=0x29452510AC68D7C63E3B45024BE446DB03A3CFCC595AA88723C4DE4C8DB57956&prove=true」, requestOptions)7.接著((回應) => 回應.文字())8.接著((結果) => 控制台.log(結果))9.catch((錯誤) => 控制台.錯誤(錯誤));
1匯入 請求23網址 = "https://docs-demo.cosmos-mainnet.quiknode.pro/tx?hash=0x29452510AC68D7C63E3B45024BE446DB03A3CFCC595AA88723C4DE4C8DB57956&prove=True"45有效載荷 = {}6標題 = {}78回應 = 請求.請求("GET", url, headers=headers, data=有效載荷)910列印(回應.text)11
1匯入 請求23網址 = "https://docs-demo.cosmos-mainnet.quiknode.pro/tx?hash=0x29452510AC68D7C63E3B45024BE446DB03A3CFCC595AA88723C4DE4C8DB57956&prove=True"45有效載荷 = {}6標題 = {}78回應 = 請求.請求("GET", url, headers=headers, data=有效載荷)910列印(回應.text)11
1需要 "uri"2需要 "net/http"34網址 = URI("https://docs-demo.cosmos-mainnet.quiknode.pro/tx?hash=0x29452510AC68D7C63E3B45024BE446DB03A3CFCC595AA88723C4DE4C8DB57956&prove=true")56https = 網::HTTP.new(url.主機, url.port)7https.use_ssl = true89請求 = 淨::HTTP::Get.new(url)1011回應 = https.請求(請求)12將回應。read_body13
1需要 "uri"2需要 "net/http"34網址 = URI("https://docs-demo.cosmos-mainnet.quiknode.pro/tx?hash=0x29452510AC68D7C63E3B45024BE446DB03A3CFCC595AA88723C4DE4C8DB57956&prove=true")56https = 網::HTTP.new(url.主機, url.port)7https.use_ssl = true89請求 = 淨::HTTP::Get.new(url)1011回應 = https.請求(請求)12將回應。read_body13