Pular para o conteúdo

Balances and statements

Use these operations to view balances and statements for a ledger.

OperationMethodDescription
Get balancesGETGet balances for local and remote accounts owned by a RippleNet address.
Get ledger balancesGETGet balances for ledger owned by a RippleNet address.
Get statementGETGets a statement for an account that lists payments and transfers that impacted the account's balance during a specified date-time range.
Get statement by external account IDGETGets a statement for an account that lists payments and transfers that impacted the account's balance during a specified date-time range.
Get ledger account statementGETGet statement for a specified Ledger Account

Get balances

Requisição

Get balances for local and remote accounts owned by a RippleNet address.

Segurança
Bearer
curl -i -X GET \
  https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/reference/openapi/monitor/balances \
  -H 'Authorization: YOUR_API_KEY_HERE'

Respostas

Successfully returned balances.

Corpoapplication/json
local_balanceArray of objectsobrigatório

Provides balance details for accounts owned by a RippleNet address.

remote_balancesArray of objectsobrigatório

Provides balance details for accounts owned by a RippleNet address.

errorsArray of stringsobrigatório

Lists any errors encountered when returning balance details.

Resposta
{ "local_balance": [ { … } ], "remote_balances": [ { … } ], "errors": [ "string" ] }