GET /api/v2/balancehistory/{address} - Blockbook REST API
Please note that this REST method requires the BCH Blockbook add-on enabled on your Quicknode endpoint.
경로 매개변수
xpub_or_address
문자열
필수
로딩 중...
쿼리 매개변수
출처:
정수
로딩 중...
~에
정수
로딩 중...
fiatcurrency
문자열
로딩 중...
groupBy
정수
로딩 중...
gap
정수
로딩 중...
반품
시간
정수
로딩 중...
txs
정수
로딩 중...
received
문자열
로딩 중...
보냄
문자열
로딩 중...
sentToSelf
문자열
로딩 중...
rates
객체
로딩 중...
{currency}
정수
로딩 중...
요청
1curl -X GET "https://docs-demo.bch-mainnet.quiknode.pro/balancehistory/bitcoincash:qzf9ax7we6swngffah3e9gr4mgh0qw3zcy6kq5afau?from=1683684000&to=1700042400&fiatcurrency=usd&groupBy=3600" \2-H "Content-Type: application/json" \3-H "Accept: application/json"
1curl -X GET "https://docs-demo.bch-mainnet.quiknode.pro/balancehistory/bitcoincash:qzf9ax7we6swngffah3e9gr4mgh0qw3zcy6kq5afau?from=1683684000&to=1700042400&fiatcurrency=usd&groupBy=3600" \2-H "Content-Type: application/json" \3-H "Accept: application/json"
1async function main() {2const response = await fetch('https://docs-demo.bch-mainnet.quiknode.pro/balancehistory/bitcoincash:qzf9ax7we6swngffah3e9gr4mgh0qw3zcy6kq5afau?from=1683684000&to=1700042400&fiatcurrency=usd&groupBy=3600', {3method: 'GET',4headers: {'Content-Type': 'application/json', 'Accept': 'application/json'}5})6const data = await response.json()7콘솔.log(데이터)8}910main()
1async function main() {2const response = await fetch('https://docs-demo.bch-mainnet.quiknode.pro/balancehistory/bitcoincash:qzf9ax7we6swngffah3e9gr4mgh0qw3zcy6kq5afau?from=1683684000&to=1700042400&fiatcurrency=usd&groupBy=3600', {3method: 'GET',4headers: {'Content-Type': 'application/json', 'Accept': 'application/json'}5})6const data = await response.json()7콘솔.log(데이터)8}910main()
1import 요청2import json34url = "https://docs-demo.bch-mainnet.quiknode.pro/balancehistory/bitcoincash:qzf9ax7we6swngffah3e9gr4mgh0qw3zcy6kq5afau?from=1683684000&to=1700042400&fiatcurrency=usd&groupBy=3600"56헤더 = {7'Content-Type': 'application/json',8'Accept': 'application/json'9}1011response = requests.request("GET", url, headers=headers)1213인쇄(응답.text)
1import 요청2import json34url = "https://docs-demo.bch-mainnet.quiknode.pro/balancehistory/bitcoincash:qzf9ax7we6swngffah3e9gr4mgh0qw3zcy6kq5afau?from=1683684000&to=1700042400&fiatcurrency=usd&groupBy=3600"56헤더 = {7'Content-Type': 'application/json',8'Accept': 'application/json'9}1011response = requests.request("GET", url, headers=headers)1213인쇄(응답.text)
1require "uri"2require "json"3require "net/http"45uri = URI("https://docs-demo.bch-mainnet.quiknode.pro/balancehistory/bitcoincash:qzf9ax7we6swngffah3e9gr4mgh0qw3zcy6kq5afau?from=1683684000&to=1700042400&fiatcurrency=usd&groupBy=3600")67request = Net::HTTP::Get.new(uri)8요청["Content-Type"] = "application/json"9request["Accept"] = "application/json"1011답변 = 순::HTTP.시작(uri.host, uri.port, use_ssl: true) do |http|12http.요청(요청)13끝1415응답을 넣습니다.본문
1require "uri"2require "json"3require "net/http"45uri = URI("https://docs-demo.bch-mainnet.quiknode.pro/balancehistory/bitcoincash:qzf9ax7we6swngffah3e9gr4mgh0qw3zcy6kq5afau?from=1683684000&to=1700042400&fiatcurrency=usd&groupBy=3600")67request = Net::HTTP::Get.new(uri)8요청["Content-Type"] = "application/json"9request["Accept"] = "application/json"1011답변 = 순::HTTP.시작(uri.host, uri.port, use_ssl: true) do |http|12http.요청(요청)13끝1415응답을 넣습니다.본문
답변
1[]
1[]