GET /api/v2/balancehistory/{address} - Blockbook REST API
Please note that this REST method requires the Litecoin Blockbook add-on enabled on your QuickNode endpoint.
Path Parameters
xpub_or_address
string
REQUIRED
Loading...
Query Parameters
from
integer
Loading...
to
integer
Loading...
fiatcurrency
string
Loading...
groupBy
integer
Loading...
Returns
time
integer
Loading...
txs
integer
Loading...
received
string
Loading...
sent
string
Loading...
sentToSelf
string
Loading...
rates
object
Loading...
{currency}
integer
Loading...
Request
1curl -X GET "https://docs-demo.ltc-mainnet.quiknode.pro/balancehistory/LYhttvnKawAv6RcHQ4eBkNtifuiEA99PFe?from=1780000000&to=1790000000&fiatcurrency=usd&groupBy=3600" \2-H "Content-Type: application/json"
1curl -X GET "https://docs-demo.ltc-mainnet.quiknode.pro/balancehistory/LYhttvnKawAv6RcHQ4eBkNtifuiEA99PFe?from=1780000000&to=1790000000&fiatcurrency=usd&groupBy=3600" \2-H "Content-Type: application/json"
Response
1[2{3"time": 1779998400,4"txs": 7,5"received": "3752876816",6"sent": "10020726092",7"sentToSelf": "0",8"rates": {9"usd": 51.73483710}11},12{13"time": 1780002000,14"txs": 4,15"received": "2503814725",16"sent": "0",17"sentToSelf": "0",18"rates": {19"usd": 51.84340720}21},22{23"time": 1780005600,24"txs": 6,25"received": "3752447871",26"sent": "0",27"sentToSelf": "0",28"rates": {29"usd": 51.8470330}31}32]
1[2{3"time": 1779998400,4"txs": 7,5"received": "3752876816",6"sent": "10020726092",7"sentToSelf": "0",8"rates": {9"usd": 51.73483710}11},12{13"time": 1780002000,14"txs": 4,15"received": "2503814725",16"sent": "0",17"sentToSelf": "0",18"rates": {19"usd": 51.84340720}21},22{23"time": 1780005600,24"txs": 6,25"received": "3752447871",26"sent": "0",27"sentToSelf": "0",28"rates": {29"usd": 51.8470330}31}32]
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free