Address balance
GET/esplora/api/address/{key}
Wallet API v1.0.0 · Addresses
Funded and spent output counts and sums, confirmed and unconfirmed. Balance = funded_txo_sum - spent_txo_sum.
Example
curl 'https://api.tensorcash.org/esplora/api/address/tc1qmvalge7mnhct9qj5uua8rn0dmjcyh6fmvrr46j'
Parameters
| Name | In | Type | Required | Description |
|---|
key | path | string | Yes | TensorCash address (bech32 hrp tc, or base58). |
Responses
| Status | Description | Body |
|---|
200 | Address summary | |
400 | Invalid address | |
422 | Validation Error | |
503 | Index syncing: n/m | |
Schemas
AddressSummary
ChainStats
| Field | Type | Required | Description |
|---|
funded_txo_count | integer | Yes | Outputs received. |
funded_txo_sum | integer | Yes | Satoshis received. |
spent_txo_count | integer | Yes | Outputs spent. |
spent_txo_sum | integer | Yes | Satoshis spent. |
tx_count | integer | Yes | Transactions touching the address. |
HTTPValidationError
ValidationError
| Field | Type | Required | Description |
|---|
loc | string | integer[] | Yes | |
msg | string | Yes | |
type | string | Yes | |
- Source
- tensorcash-wallet-api (tensorcash-api) v1.0.0 (772799e) · bobponey · MIT