usdcRouting Info Endpoint Method
參數
類型
字串
必填
載入中...
退貨
物件
物件
載入中...
depositRoute
字串
載入中...
withdrawalRoute
字串
載入中...
請求
1curlmainnet\2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"usdcRouting"}'5
1curlmainnet\2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"usdcRouting"}'5
1var myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34var 原始 = JSON.stringify({5"type": "usdcRouting"6});78var requestOptions = {9方法: 'POST',10標題: myHeaders,11正文: 原始,12重定向: '追蹤'13};1415fetch(「mainnet」, requestOptions)16.接著(回應 => response.text())17.接著(結果 => 控制台.log(結果))18.catchcatch(錯誤 => console.log('error', error));19
1var myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34var 原始 = JSON.stringify({5"type": "usdcRouting"6});78var requestOptions = {9方法: 'POST',10標題: myHeaders,11正文: 原始,12重定向: '追蹤'13};1415fetch(「mainnet」, requestOptions)16.接著(回應 => response.text())17.接著(結果 => 控制台.log(結果))18.catchcatch(錯誤 => console.log('error', error));19
1匯入 請求2匯入 json34網址 = "mainnet"56有效載荷 = json.dumps({7"type": "usdcRouting"8})9標題 = {10「Content-Type」: 'application/json'11}1213回應 = 請求.請求("POST", url, headers=headers, data=有效載荷)1415列印(回應.text)16
1匯入 請求2匯入 json34網址 = "mainnet"56有效載荷 = json.dumps({7"type": "usdcRouting"8})9標題 = {10「Content-Type」: 'application/json'11}1213回應 = 請求.請求("POST", url, headers=headers, data=有效載荷)1415列印(回應.text)16
1需要 "uri"2require "json"3需要 "net/http"45網址 = URI("mainnet")67https = 網::HTTP.new(url.主機, 網址.port)8https.use_ssl = true910請求 = 淨額::HTTP::POST.新增(網址)11請求["Content-Type"] = "application/json"12請求。主體 = JSON.dump({13"type": "usdcRouting"14})1516回應 = https.請求(請求)17puts 回應。read_body18
1需要 "uri"2require "json"3需要 "net/http"45網址 = URI("mainnet")67https = 網::HTTP.new(url.主機, 網址.port)8https.use_ssl = true910請求 = 淨額::HTTP::POST.新增(網址)11請求["Content-Type"] = "application/json"12請求。主體 = JSON.dump({13"type": "usdcRouting"14})1516回應 = https.請求(請求)17puts 回應。read_body18