candleSnapshot Info Endpoint Method
パラメータ
タイプ
文字列
必須
読み込み中...
req
オブジェクト
必須
読み込み中...
コイン
文字列
必須
読み込み中...
interval
文字列
必須
読み込み中...
startTime
整数
必須
読み込み中...
endTime
整数
必須
読み込み中...
返品
配列
配列
読み込み中...
t
整数
読み込み中...
T
整数
読み込み中...
s
文字列
読み込み中...
i
文字列
読み込み中...
o
文字列
読み込み中...
c
文字列
読み込み中...
h
文字列
読み込み中...
l
文字列
読み込み中...
v
文字列
読み込み中...
n
整数
読み込み中...
リクエスト
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"candleSnapshot","req":{"coin":"BTC","interval":"1h","startTime":1754300000000,"endTime":1754400000000}}'5
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"candleSnapshot","req":{"coin":"BTC","interval":"1h","startTime":1754300000000,"endTime":1754400000000}}'5
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"type": "candleSnapshot",6"req": {7"coin": "BTC",8"interval": "1h",9"startTime": 1754300000000,10"endTime": 175440000000011}12});1314var requestOptions = {15メソッド: 'POST',16ヘッダー: myHeaders,17本文: raw,18リダイレクト: 'follow'19};2021fetch(「https://docs-demo.hype-mainnet.quiknode.pro/evm」, requestOptions)22.その後(レスポンス => レスポンス.text())23.その後(結果 => コンソール.log(result))24.catchcatch(エラー => console.log('error', error));25
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"type": "candleSnapshot",6"req": {7"coin": "BTC",8"interval": "1h",9"startTime": 1754300000000,10"endTime": 175440000000011}12});1314var requestOptions = {15メソッド: 'POST',16ヘッダー: myHeaders,17本文: raw,18リダイレクト: 'follow'19};2021fetch(「https://docs-demo.hype-mainnet.quiknode.pro/evm」, requestOptions)22.その後(レスポンス => レスポンス.text())23.その後(結果 => コンソール.log(result))24.catchcatch(エラー => console.log('error', error));25
1import リクエスト2import json34url = "https://docs-demo.hype-mainnet.quiknode.pro/evm"56ペイロード = json.dumps({7"type": "candleSnapshot",8"req": {9"coin": "BTC",10"interval": "1h",11"startTime": 1754300000000,12"endTime": 175440000000013}14})15ヘッダー = {16「Content-Type」: 'application/json'17}1819回答 = リクエスト.リクエスト("POST", url, headers=headers, データ=ペイロード)2021印刷(レスポンス.text)22
1import リクエスト2import json34url = "https://docs-demo.hype-mainnet.quiknode.pro/evm"56ペイロード = json.dumps({7"type": "candleSnapshot",8"req": {9"coin": "BTC",10"interval": "1h",11"startTime": 1754300000000,12"endTime": 175440000000013}14})15ヘッダー = {16「Content-Type」: 'application/json'17}1819回答 = リクエスト.リクエスト("POST", url, headers=headers, データ=ペイロード)2021印刷(レスポンス.text)22
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": "candleSnapshot",14"req": {15"coin": "BTC",16"interval": "1h",17"startTime": 1754300000000,18"endTime": 175440000000019}20})2122回答 = https.リクエスト(リクエスト)23レスポンスを格納する.read_body24
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": "candleSnapshot",14"req": {15"coin": "BTC",16"interval": "1h",17"startTime": 1754300000000,18"endTime": 175440000000019}20})2122回答 = https.リクエスト(リクエスト)23レスポンスを格納する.read_body24