bb_getBalanceHistory RPC Method - Blockbook
Please note that this RPC method requires the Litecoin Blockbook add-on enabled on your Quicknode endpoint.
Parameter
Adresse
Zeichenkette
ERFORDERLICH
Wird geladen...
Objekt
Objekt
Wird geladen...
aus
Zeichenkette
Wird geladen...
zu
Zeichenkette
Wird geladen...
fiatcurrency
Zeichenkette
Wird geladen...
groupBy
Ganzzahl
Wird geladen...
gap
Ganzzahl
Wird geladen...
Rücksendungen
Zeit
Ganzzahl
Wird geladen...
txs
Ganzzahl
Wird geladen...
received
Zeichenkette
Wird geladen...
gesendet
Zeichenkette
Wird geladen...
sentToSelf
Zeichenkette
Wird geladen...
rates
Objekt
Wird geladen...
Anfrage
1curl https://docs-demo.ltc-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"bb_getBalanceHistory","params": ["LYhttvnKawAv6RcHQ4eBkNtifuiEA99PFe", {"from":"1683684000", "to":"1715035409", "fiatcurrency":"usd", "groupBy":3600}],"id":1,"jsonrpc":"2.0"}'
1curl https://docs-demo.ltc-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"bb_getBalanceHistory","params": ["LYhttvnKawAv6RcHQ4eBkNtifuiEA99PFe", {"from":"1683684000", "to":"1715035409", "fiatcurrency":"usd", "groupBy":3600}],"id":1,"jsonrpc":"2.0"}'
1var myHeaders = new Headers();2myHeaders.anhängen("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "bb_getBalanceHistory",6„params“: [7"LYhttvnKawAv6RcHQ4eBkNtifuiEA99PFe",8{9"from": "1683684000",10"to": "1715035409",11"fiatcurrency": "usd",12"groupBy": 360013}14],15„id“: 1,16„jsonrpc“: "2.0"17});1819var requestOptions = {20Methode: 'POST',21Überschriften: myHeaders,22Körper: raw,23Weiterleitung: 'follow'24};2526fetch("https://docs-demo.ltc-mainnet.quiknode.pro/", requestOptions)27.dann(Antwort => Antwort.text())28.dann(Ergebnis => Konsole.log(Ergebnis))29.catch(error => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.anhängen("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "bb_getBalanceHistory",6„params“: [7"LYhttvnKawAv6RcHQ4eBkNtifuiEA99PFe",8{9"from": "1683684000",10"to": "1715035409",11"fiatcurrency": "usd",12"groupBy": 360013}14],15„id“: 1,16„jsonrpc“: "2.0"17});1819var requestOptions = {20Methode: 'POST',21Überschriften: myHeaders,22Körper: raw,23Weiterleitung: 'follow'24};2526fetch("https://docs-demo.ltc-mainnet.quiknode.pro/", requestOptions)27.dann(Antwort => Antwort.text())28.dann(Ergebnis => Konsole.log(Ergebnis))29.catch(error => console.log('error', error));
1import Anfragen2import json34url = "https://docs-demo.ltc-mainnet.quiknode.pro/"56Nutzlast = json.dumps({7"method": "bb_getBalanceHistory",8„params“: [9"LYhttvnKawAv6RcHQ4eBkNtifuiEA99PFe",10{11"from": "1683684000",12"to": "1715035409",13"fiatcurrency": "usd",14"groupBy": 360015}16],17„id“: 1,18„jsonrpc“: "2.0"19})20Überschriften = {21„Content-Type“: 'application/json'22}2324Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)2526Drucken(Antwort.text)
1import Anfragen2import json34url = "https://docs-demo.ltc-mainnet.quiknode.pro/"56Nutzlast = json.dumps({7"method": "bb_getBalanceHistory",8„params“: [9"LYhttvnKawAv6RcHQ4eBkNtifuiEA99PFe",10{11"from": "1683684000",12"to": "1715035409",13"fiatcurrency": "usd",14"groupBy": 360015}16],17„id“: 1,18„jsonrpc“: "2.0"19})20Überschriften = {21„Content-Type“: 'application/json'22}2324Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)2526Drucken(Antwort.text)
1require "uri"2require "json"3require „net/http“45url = URI("https://docs-demo.ltc-mainnet.quiknode.pro/")67https = Net::HTTP.new(url.host, URL.Port)8https.use_ssl = true910Anfrage = Netto::HTTP::POST.new(URL)11Anfrage[„Content-Type“] = „application/json“12Anfrage.Inhalt = JSON.dump({13"method": "bb_getBalanceHistory",14„params“: [15"LYhttvnKawAv6RcHQ4eBkNtifuiEA99PFe",16{17"from": "1683684000",18"to": "1715035409",19"fiatcurrency": "usd",20"groupBy": 360021}22],23„id“: 1,24„jsonrpc“: "2.0"25})2627Antwort = https.Anfrage(Anfrage)28gibt die Antwort aus.read_body29
1require "uri"2require "json"3require „net/http“45url = URI("https://docs-demo.ltc-mainnet.quiknode.pro/")67https = Net::HTTP.new(url.host, URL.Port)8https.use_ssl = true910Anfrage = Netto::HTTP::POST.new(URL)11Anfrage[„Content-Type“] = „application/json“12Anfrage.Inhalt = JSON.dump({13"method": "bb_getBalanceHistory",14„params“: [15"LYhttvnKawAv6RcHQ4eBkNtifuiEA99PFe",16{17"from": "1683684000",18"to": "1715035409",19"fiatcurrency": "usd",20"groupBy": 360021}22],23„id“: 1,24„jsonrpc“: "2.0"25})2627Antwort = https.Anfrage(Anfrage)28gibt die Antwort aus.read_body29
Haben Sie noch kein Konto?
Erstellen Sie Ihren Quicknode-Endpunkt in Sekundenschnelle und legen Sie los
Kostenlos loslegen