Balance
Retrieve the current balance of an address
Retrieve the current balance of an address.
Attribute | Type | Description |
currency | string | |
address | string | The public address associated with the transactions. |
Attribute | Type | Description |
includeUnspentOutputs | boolean | Optional. Unspent transaction outputs of the address. Available only for BTC addresses and if includeUnspentOutputs is set to true . |
HTTP Status | Return Object |
200 |
Attribute | Type | Description |
Balance | string | A string representing how much balance in the currency unit (e.g., "1.23" for 1.23 USD-G). |
Currency | string | |
UnspentOutputs | Unspent transaction outputs of the address. Available only for BTC addresses and if includeUnspentOutputs is set to true . |
Attribute | Type | Description |
Amount | string | Bitcoin amount in the output index. |
TxHash | string | Hash of the transaction that contains the output. |
Index | int | Index of the output. |
Confirmations | int | The number of confirmations for the transaction |
HTTP Status | Error Code | Description |
400 | BadRequest | Invalid address format. |
400 | InvalidUrlParameters | Invalid URL parameters |
500 | InternalServerError | Server error. |
503 | ServiceUnavailable | Service unavailable for the specified currency |
Last modified 1yr ago