hl_batchOpenOrders JSON-RPC Method
Access to
/hypercore JSON-RPC methods requires a Build plan or higher. View pricing to upgrade. For complete stream type definitions and filtering options, see the datasets documentation.參數
使用者
陣列
必填
載入中...
退貨
結果
物件
載入中...
successful_states
陣列
載入中...
地址
字串
載入中...
orders
陣列
載入中...
硬幣
字串
載入中...
側面
字串
載入中...
limitPx
字串
載入中...
sz
字串
載入中...
oid
整數
載入中...
時間戳記
整數
載入中...
origSz
字串
載入中...
failed_wallets
陣列
載入中...
請求
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \2-X POST \3-H "Content-Type: application/json" \4--data '{5"jsonrpc": "2.0",6"method": "hl_batchOpenOrders",7"params": {8"users": [9"0xf9a9a403b039996082049394935f815523157330",10"0xf882efb8687354909fc1931923f3b46cf7e24adc",11"0xeb7154a073efae0adbe8c9472366c70dd8a5fba7"12]13},14"id": 115}'
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \2-X POST \3-H "Content-Type: application/json" \4--data '{5"jsonrpc": "2.0",6"method": "hl_batchOpenOrders",7"params": {8"users": [9"0xf9a9a403b039996082049394935f815523157330",10"0xf882efb8687354909fc1931923f3b46cf7e24adc",11"0xeb7154a073efae0adbe8c9472366c70dd8a5fba7"12]13},14"id": 115}'
1var myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34var raw = JSON.stringify({5"jsonrpc": "2.0",6"method": "hl_batchOpenOrders",7"params": {8"users": [9"0xf9a9a403b039996082049394935f815523157330",10"0xf882efb8687354909fc1931923f3b46cf7e24adc",11"0xeb7154a073efae0adbe8c9472366c70dd8a5fba7"12]13},14"id": 115});1617var requestOptions = {18方法: 'POST',19標題: myHeaders,20正文: 原始,21redirect: 'follow'22};2324fetch("https://docs-demo.hype-mainnet.quiknode.pro/evm", requestOptions)25.then(response => response.text())26.then(result => console.log(result))27.catch(error => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34var raw = JSON.stringify({5"jsonrpc": "2.0",6"method": "hl_batchOpenOrders",7"params": {8"users": [9"0xf9a9a403b039996082049394935f815523157330",10"0xf882efb8687354909fc1931923f3b46cf7e24adc",11"0xeb7154a073efae0adbe8c9472366c70dd8a5fba7"12]13},14"id": 115});1617var requestOptions = {18方法: 'POST',19標題: myHeaders,20正文: 原始,21redirect: 'follow'22};2324fetch("https://docs-demo.hype-mainnet.quiknode.pro/evm", requestOptions)25.then(response => response.text())26.then(result => console.log(result))27.catch(error => console.log('error', error));
1匯入 請求2import json34url = "https://docs-demo.hype-mainnet.quiknode.pro/evm"56有效載荷 = json.dumps({7"jsonrpc": "2.0",8"method": "hl_batchOpenOrders",9"params": {10"users": [11"0xf9a9a403b039996082049394935f815523157330",12"0xf882efb8687354909fc1931923f3b46cf7e24adc",13"0xeb7154a073efae0adbe8c9472366c70dd8a5fba7"14]15},16"id": 117})1819標題 = {20「Content-Type」: 'application/json'21}2223回應 = 請求.請求("POST", url, headers=headers, data=有效載荷)2425列印(回應.text)
1匯入 請求2import json34url = "https://docs-demo.hype-mainnet.quiknode.pro/evm"56有效載荷 = json.dumps({7"jsonrpc": "2.0",8"method": "hl_batchOpenOrders",9"params": {10"users": [11"0xf9a9a403b039996082049394935f815523157330",12"0xf882efb8687354909fc1931923f3b46cf7e24adc",13"0xeb7154a073efae0adbe8c9472366c70dd8a5fba7"14]15},16"id": 117})1819標題 = {20「Content-Type」: 'application/json'21}2223回應 = 請求.請求("POST", url, headers=headers, data=有效載荷)2425列印(回應.text)
1需要 "uri"2require "json"3需要 "net/http"45url = URI("https://docs-demo.hype-mainnet.quiknode.pro/evm")67http = Net::HTTP.new(url.host, url.port)8http.use_ssl = true910請求 = 淨::HTTP::POST.new(網址)11請求["Content-Type"] = "application/json"12請求。正文 = JSON.dump({13"jsonrpc": "2.0",14"method": "hl_batchOpenOrders",15"params": {16"users": [17"0xf9a9a403b039996082049394935f815523157330",18"0xf882efb8687354909fc1931923f3b46cf7e24adc",19"0xeb7154a073efae0adbe8c9472366c70dd8a5fba7"20]21},22"id": 123})2425回應 = http.請求(請求)26將回應。read_body
1需要 "uri"2require "json"3需要 "net/http"45url = URI("https://docs-demo.hype-mainnet.quiknode.pro/evm")67http = Net::HTTP.new(url.host, url.port)8http.use_ssl = true910請求 = 淨::HTTP::POST.new(網址)11請求["Content-Type"] = "application/json"12請求。正文 = JSON.dump({13"jsonrpc": "2.0",14"method": "hl_batchOpenOrders",15"params": {16"users": [17"0xf9a9a403b039996082049394935f815523157330",18"0xf882efb8687354909fc1931923f3b46cf7e24adc",19"0xeb7154a073efae0adbe8c9472366c70dd8a5fba7"20]21},22"id": 123})2425回應 = http.請求(請求)26將回應。read_body