fundingHistory Info Endpoint Method
參數
類型
字串
必填
載入中...
硬幣
字串
必填
載入中...
startTime
整數
必填
載入中...
endTime
整數
載入中...
退貨
陣列
陣列
載入中...
時間
整數
載入中...
硬幣
字串
載入中...
fundingRate
字串
載入中...
premium
字串
載入中...
請求
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"fundingHistory","coin":"BTC", "startTime": 1681923833000}'5
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"fundingHistory","coin":"BTC", "startTime": 1681923833000}'5
1var myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34var raw = JSON.stringify({5"type": "fundingHistory",6"coin": "BTC",7"startTime": 16819238330008});910var requestOptions = {11方法: 'POST',12標題: myHeaders,13正文: 原始,14redirect: 'follow'15};1617fetch("https://docs-demo.hype-mainnet.quiknode.pro/evm", requestOptions)18.then(response => response.text())19.then(result => console.log(result))20.catch(error => console.log('error', error));21
1var myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34var raw = JSON.stringify({5"type": "fundingHistory",6"coin": "BTC",7"startTime": 16819238330008});910var requestOptions = {11方法: 'POST',12標題: myHeaders,13正文: 原始,14redirect: 'follow'15};1617fetch("https://docs-demo.hype-mainnet.quiknode.pro/evm", requestOptions)18.then(response => response.text())19.then(result => console.log(result))20.catch(error => console.log('error', error));21
1匯入 請求2import json34url = "https://docs-demo.hype-mainnet.quiknode.pro/evm"56有效載荷 = json.dumps({7"type": "fundingHistory",8"coin": "BTC",9"startTime": 168192383300010})11標題 = {12「Content-Type」: 'application/json'13}1415回應 = 請求.請求("POST", url, headers=headers, data=有效載荷)1617列印(回應.text)18
1匯入 請求2import json34url = "https://docs-demo.hype-mainnet.quiknode.pro/evm"56有效載荷 = json.dumps({7"type": "fundingHistory",8"coin": "BTC",9"startTime": 168192383300010})11標題 = {12「Content-Type」: 'application/json'13}1415回應 = 請求.請求("POST", url, headers=headers, data=有效載荷)1617列印(回應.text)18
1需要 "uri"2require "json"3需要 "net/http"45url = URI("https://docs-demo.hype-mainnet.quiknode.pro/evm")67https = 網::HTTP.new(url.主機, url.port)8https.use_ssl = true910請求 = 淨::HTTP::POST.new(網址)11請求["Content-Type"] = "application/json"12請求。正文 = JSON.dump({13"type": "fundingHistory",14"coin": "BTC",15"startTime": 168192383300016})1718回應 = https.請求(請求)19將回應。read_body20
1需要 "uri"2require "json"3需要 "net/http"45url = URI("https://docs-demo.hype-mainnet.quiknode.pro/evm")67https = 網::HTTP.new(url.主機, url.port)8https.use_ssl = true910請求 = 淨::HTTP::POST.new(網址)11請求["Content-Type"] = "application/json"12請求。正文 = JSON.dump({13"type": "fundingHistory",14"coin": "BTC",15"startTime": 168192383300016})1718回應 = https.請求(請求)19將回應。read_body20