GET
/
api
/
ledger
/
v2
/
{ledger}
/
accounts
/
{address}
curl --request GET \
  --url http://localhost:55001/api/ledger/v2/{ledger}/accounts/{address} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "address": "users:001",
    "metadata": {
      "admin": "true"
    },
    "volumes": {
      "USD": {
        "input": 100,
        "output": 10,
        "balance": 90
      },
      "EUR": {
        "input": 100,
        "output": 10,
        "balance": 90
      }
    },
    "effectiveVolumes": {
      "USD": {
        "input": 100,
        "output": 10,
        "balance": 90
      },
      "EUR": {
        "input": 100,
        "output": 10,
        "balance": 90
      }
    }
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

ledger
string
required

Name of the ledger.

Example:

"ledger001"

address
string
required

Exact address of the account. It must match the following regular expressions pattern:

^\w+(:\w+)*$
Example:

"users:001"

Query Parameters

expand
string
pit
string

Response

200
application/json

OK

The response is of type object.