Skip to Content
Blockhash Docs
API referenceWallets
GET
/v1/wallets/{address}/history

The wallet's ERC-20 holdings and native ether valued each UTC day over the last days, at that day's closes. A token counts with $1,000 of 2% depth and is worth at most 100 times it. A first view reads the ether's past days a few a second: while native.partial is true, ask again.

Path Parameters

address*string

A 20-byte hex address.

Match^0x[0-9a-fA-F]{40}$

Query Parameters

days?integer
Range1 <= value <= 365
Default30

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/wallets/string/history"
{  "address": "string",  "days": 0,  "source": "indexer",  "points": [    {      "t": 0,      "valueUsd": 0,      "nativeUsd": 0,      "perpsUsd": 0    }  ],  "tokens": [    {      "token": "string",      "symbol": "string",      "decimals": 0,      "balance": "string",      "valueUsd": 0,      "native": true    }  ],  "native": {    "missing": 0,    "partial": true,    "unread": true  },  "perps": {    "state": "read",    "equityUsd": 0,    "unrealizedUsd": 0,    "accounts": 0,    "positions": 0,    "readAt": 0,    "partial": true,    "retryAfterSec": 0,    "since": "string"  }}