An account tracks the balance(s) and transactions history of a data source. In the context of a distributed ledger, it relies on a set of keys and addresses provided by its vault.
For multi-address ledger protocols, accounts may generate and track multiple separate addresses transparently. For multi-currency protocols, a single account may have multiple balances corresponding to each respective asset owned by the account.
An account ensures the quarantine of all incoming transfers, such that their release is suject to a formal policy. It also manages balance reserves to ensure fully approved transaction orders become executable with little delay.
The locking of an account prevents the execution of any transaction order related to the specific account, as well as the release of quarantined incoming transfers.
- Mock serverhttps://docs.ripple.com/_mock/pt-br/products/custody/v1.34/devbox/v1/domains/{domainId}/accounts
curl -i -X GET \
'https://docs.ripple.com/_mock/pt-br/products/custody/v1.34/devbox/v1/domains/{domainId}/accounts?limit=1&startingAfter=497f6eca-6276-4993-bfeb-53cbbbba6f08&sortBy=id&sortOrder=ASC&ledgerId=1234567&alias=alias1&providerDetails.vaultId=8e92eb53-40e7-4809-bb52-7e7b3b41a4be&metadata.createdBy=fdeeeb4b-f987-4ec4-9880-1eb280581d49&metadata.lastModifiedBy=90c4cf2f-ebe0-4bf7-91cd-4c45cd02277b&metadata.description=description1&metadata.customProperties=key1%3Avalue1%2Ckey2%3Avalue2&lock=Locked%2CArchived&additionalDetails.processingStatus=Completed&additionalDetails.ledgers.ledgerId=bitcoin%2Cbitcoin-testnet&additionalDetails.ledgers.status=Activating%2CActivated' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "items": [ { … } ], "count": 0, "currentStartingAfter": "string", "nextStartingAfter": "string" }