Skip to main content

Retrieve an Account

GET 

/accounts/:account_id

The single account endpoint provides information on a specific account. The balances section in the response will also list all the trustlines this account has established, including trustlines that haven’t been authorized yet.

Request

Path Parameters

    account_id stringrequired

    This account’s public key encoded in a base32 string representation.

Responses

Returns details like balances, sponserships etc. about an account.

Schema

    _links

    object

    self

    object

    href linkrequired
    templated boolean

    next

    object

    href linkrequired
    templated boolean

    prev

    object

    href linkrequired
    templated boolean

    _embedded

    object

    records

    object[]

  • Array [

  • _links

    object

    self

    object

    required

    href linkrequired
    templated boolean

    transactions

    object

    required

    href linkrequired
    templated boolean

    operations

    object

    required

    href linkrequired
    templated boolean

    payments

    object

    required

    href linkrequired
    templated boolean

    effects

    object

    required

    href linkrequired
    templated boolean

    offers

    object

    required

    href linkrequired
    templated boolean

    trades

    object

    required

    href linkrequired
    templated boolean

    data

    object

    required

    href linkrequired
    templated boolean
    id id (string)required
    account_id address (string)required

    Possible values: Value must match regular expression G[A-Z0-9]{55}

    sequence sequence (string)required

    Possible values: Value must match regular expression [0-9]+

    sequence_ledger uint32
    sequence_time string
    subentry_count int32required
    inflation_destination address (string)

    Possible values: Value must match regular expression G[A-Z0-9]{55}

    home_domain string
    last_modified_ledger uint32required
    last_modified_time stringrequired

    thresholds

    object

    required

    low_threshold integer
    med_threshold integer
    high_threshold integer

    flags

    object

    required

    auth_required boolean
    auth_revocable boolean
    auth_immutable boolean
    auth_clawback_enabled boolean

    balances

    object[]

    required

  • Array [

  • anyOf

    balance currency (string)required

    Possible values: Value must match regular expression [0-9]+\.[0-9]{7}

    liquidity_pool_id string
    limit currency (string)required

    Possible values: Value must match regular expression [0-9]+\.[0-9]{7}

    buying_liabilites currency (string)required

    Possible values: Value must match regular expression [0-9]+\.[0-9]{7}

    selling_liabilites currency (string)required

    Possible values: Value must match regular expression [0-9]+\.[0-9]{7}

    sponser string
    last_modified_ledger uint32required
    is_authorized booleanrequired
    is_authorized_to_maintain_liabilites booleanrequired
    is_clawback_enabled booleanrequired
    asset_type stringrequired

    Possible values: [native]

  • ]

  • signers

    object[]

    required

  • Array [

  • key address (string)required

    Possible values: Value must match regular expression G[A-Z0-9]{55}

    weight int32required
    type stringrequired

    Possible values: [ed25519_public_key, sha256_hash, preauth_tx]

    sponser address (string)

    Possible values: Value must match regular expression G[A-Z0-9]{55}

  • ]

  • data objectrequired
    num_sponsoring integerrequired
    num_sponsered integerrequired
    sponser address (string)

    Possible values: Value must match regular expression G[A-Z0-9]{55}

    paging_token stringrequired
  • ]

Loading...