Gluwa
Gluwa Documentation
Gluwa Documentation
  • What is Gluwa
  • Change Log
    • Gluwa API Change Log
    • Gluwa Wallet Change Log
    • Gluwa Exchange Change Log
  • Get Started
    • Gluwa Mobile App
      • Gluwa Invest (Investor DAO) FAQ
      • Gluwa Invest (Fixed-Term Interest Account) FAQ
      • Create a New Gluwa Wallet
      • Restore Wallet
      • Send Gluwacoin to an address
      • Make QR Code Payments
      • Create a Signature
      • Access Private Keys
      • Non-Custodial Wallet
      • Gluwa Lottery Account FAQ
      • Fees
      • Transaction Status
      • Delete your Gluwa Account
    • Gluwa Dashboard
      • API Keys
      • Webhooks
      • Addresses
      • Transactions
    • Gluwacoin
  • Branding
    • Buttons and Marks
  • Development
    • Environments
    • QR Codes
    • Webhooks
    • Creating Signatures
    • Idempotent Requests
    • Sending Address
    • Gluwa SDK for PHP
    • Gluwa SDK for .NET
    • Gluwa SDK for Java
    • Gluwa SDK for JavaScript (Node.js)
  • API
    • API Reference
    • Authorization
    • Currency and Conversion Symbols
    • Errors and Error Codes
    • Balance
    • Fee
    • Transaction
    • Payment QR Code
    • Wrap / Unwrap
  • Exchange API
    • Exchange Webhook
    • Quote
    • Order
    • Exchange Request
    • Order Book
Powered by GitBook
On this page
  • GET /v1/:currency/Addresses/:address
  • Request
  • Response
  • Errors
  1. API

Balance

Retrieve the current balance of an address

GET /v1/:currency/Addresses/:address

Retrieve the current balance of an address.

Request

Path Parameters

Attribute

Type

Description

currency

string

address

string

The public address associated with the transactions.

Query Parameters

Attribute

Type

Description

includeUnspentOutputs

boolean

Optional. Unspent transaction outputs of the address. Available only for BTC addresses and ifincludeUnspentOutputs is set to true.

Response

HTTP Status

Return Object

200

Balance

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 ifincludeUnspentOutputs is set to true.

UnspentOutput

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

Errors

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

PreviousErrors and Error CodesNextFee

Last updated 3 years ago

The unit of the balance

The unit of the balance

array of

Balance
UnspentOutput
currency
currency