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.append("Content-Type", "application/json");34var raw = JSON.stringify({5"type": "fundingHistory",6"coin": "BTC",7"startTime": 16819238330008});910var requestOptions = {11メソッド: 'POST',12ヘッダー: myHeaders,13本文: raw,14リダイレクト: 'follow'15};1617fetch(「https://docs-demo.hype-mainnet.quiknode.pro/evm」, requestOptions)18.その後(レスポンス => レスポンス.text())19.その後(結果 => コンソール.log(result))20.catchcatch(エラー => console.log('error', error));21
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"type": "fundingHistory",6"coin": "BTC",7"startTime": 16819238330008});910var requestOptions = {11メソッド: 'POST',12ヘッダー: myHeaders,13本文: raw,14リダイレクト: 'follow'15};1617fetch(「https://docs-demo.hype-mainnet.quiknode.pro/evm」, requestOptions)18.その後(レスポンス => レスポンス.text())19.その後(結果 => コンソール.log(result))20.catchcatch(エラー => console.log('error', error));21
1import リクエスト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, データ=ペイロード)1617印刷(レスポンス.text)18
1import リクエスト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, データ=ペイロード)1617印刷(レスポンス.text)18
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.hype-mainnet.quiknode.pro/evm")67https = ネット::HTTP.new(url.ホスト, url.ポート)8https.use_ssl = true910リクエスト = ネット::HTTP::POST.new(URL)11リクエスト["Content-Type"] = "application/json"12リクエスト.本文 = JSON.dump({13"type": "fundingHistory",14"coin": "BTC",15"startTime": 168192383300016})1718回答 = https.リクエスト(リクエスト)19レスポンスを格納する.read_body20
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.hype-mainnet.quiknode.pro/evm")67https = ネット::HTTP.new(url.ホスト, url.ポート)8https.use_ssl = true910リクエスト = ネット::HTTP::POST.new(URL)11リクエスト["Content-Type"] = "application/json"12リクエスト.本文 = JSON.dump({13"type": "fundingHistory",14"coin": "BTC",15"startTime": 168192383300016})1718回答 = https.リクエスト(リクエスト)19レスポンスを格納する.read_body20