/wallet/getexpandedspendingkey REST API Endpoint
身體參數
值
字串
必填
載入中...
退貨
成功
載入中...
expandedSpendingKey
載入中...
錯誤
載入中...
statusCode
載入中...
請求
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getexpandedspendingkey \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '{5"value": "09124de6a534661ef1cfad0335832445a3b83c08e885881a68a52cf4dc735e68"6}7'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getexpandedspendingkey \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '{5"value": "09124de6a534661ef1cfad0335832445a3b83c08e885881a68a52cf4dc735e68"6}7'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getexpandedspendingkey';23const data = {4value: "09124de6a534661ef1cfad0335832445a3b83c08e885881a68a52cf4dc735e68"5};67取得(url, {8方法: 'POST',9headers: {10'accept': 'application/json',11'content-type': 'application/json'12},13body: JSON.stringify(data)14})15.接著(回應 => response.json())16.then(data => console.log(data))17.catch(error => console.error(error));18
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getexpandedspendingkey';23const data = {4value: "09124de6a534661ef1cfad0335832445a3b83c08e885881a68a52cf4dc735e68"5};67取得(url, {8方法: 'POST',9headers: {10'accept': 'application/json',11'content-type': 'application/json'12},13body: JSON.stringify(data)14})15.接著(回應 => response.json())16.then(data => console.log(data))17.catch(error => console.error(error));18
1匯入 請求23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/getexpandedspendingkey"45資料 = {6'value': '09124de6a534661ef1cfad0335832445a3b83c08e885881a68a52cf4dc735e68'7}89標題 = {10'accept': 'application/json',11'content-type': 'application/json'12}1314response = requests.post(url, json=data, headers=headers)15print(response.json())16
1匯入 請求23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/getexpandedspendingkey"45資料 = {6'value': '09124de6a534661ef1cfad0335832445a3b83c08e885881a68a52cf4dc735e68'7}89標題 = {10'accept': 'application/json',11'content-type': 'application/json'12}1314response = requests.post(url, json=data, headers=headers)15print(response.json())16
1需要 "uri"2需要 "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/getexpandedspendingkey")67資料 = {8value: "09124de6a534661ef1cfad0335832445a3b83c08e885881a68a52cf4dc735e68"9}1011標題 = {12'accept' => 'application/json',13'content-type' => 'application/json'14}1516http = Net::HTTP.new(url.host, url.port)17http.use_ssl = true1819request = Net::HTTP::Post.new(url.path, headers)20請求。正文 = data.to_json2122回應 = http.請求(請求)23將回應。正文
1需要 "uri"2需要 "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/getexpandedspendingkey")67資料 = {8value: "09124de6a534661ef1cfad0335832445a3b83c08e885881a68a52cf4dc735e68"9}1011標題 = {12'accept' => 'application/json',13'content-type' => 'application/json'14}1516http = Net::HTTP.new(url.host, url.port)17http.use_ssl = true1819request = Net::HTTP::Post.new(url.path, headers)20請求。正文 = data.to_json2122回應 = http.請求(請求)23將回應。正文