maxMarketOrderNtls Info Endpoint Method
參數
類型
字串
必填
載入中...
使用者
字串
載入中...
退貨
陣列
陣列
載入中...
槓桿
整數
載入中...
maximumNotional
字串
載入中...
請求
1curlmainnet\2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"maxMarketOrderNtls","user":"0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"}'5
1curlmainnet\2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"maxMarketOrderNtls","user":"0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"}'5
1var myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34var 原始 = JSON.stringify({5"type": "maxMarketOrderNtls",6「使用者」: "0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"7});89var requestOptions = {10方法: 'POST',11標題: myHeaders,12正文: 原始,13重定向: '追蹤'14};1516fetch(「mainnet」, requestOptions)17.接著(回應 => response.text())18.接著(結果 => 控制台.log(結果))19.catchcatch(錯誤 => console.log('error', error));20
1var myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34var 原始 = JSON.stringify({5"type": "maxMarketOrderNtls",6「使用者」: "0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"7});89var requestOptions = {10方法: 'POST',11標題: myHeaders,12正文: 原始,13重定向: '追蹤'14};1516fetch(「mainnet」, requestOptions)17.接著(回應 => response.text())18.接著(結果 => 控制台.log(結果))19.catchcatch(錯誤 => console.log('error', error));20
1匯入 請求2匯入 json34網址 = "mainnet"56有效載荷 = json.dumps({7"type": "maxMarketOrderNtls",8「使用者」: "0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"9})10標題 = {11「Content-Type」: 'application/json'12}1314回應 = 請求.請求("POST", url, headers=headers, data=有效載荷)1516列印(回應.text)17
1匯入 請求2匯入 json34網址 = "mainnet"56有效載荷 = json.dumps({7"type": "maxMarketOrderNtls",8「使用者」: "0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"9})10標題 = {11「Content-Type」: 'application/json'12}1314回應 = 請求.請求("POST", url, headers=headers, data=有效載荷)1516列印(回應.text)17
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": "maxMarketOrderNtls",14「使用者」: "0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"15})1617回應 = https.請求(請求)18puts 回應。read_body19
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": "maxMarketOrderNtls",14「使用者」: "0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"15})1617回應 = https.請求(請求)18puts 回應。read_body19