Pular para o conteúdo

Retrieve all generated addresses

Requisição

Segurança
httpAuth
Caminho
domainIdstring, (uuid)obrigatório

Unique identifier for the domain.

accountIdstring, (uuid)obrigatório
Consulta
limitinteger, (int32), [ 1 .. 100 ]

The number of entities to return.

startingAfterstring, (uuid)

AccountAddressId id used to the determine beginning of query results.

sortBystring

Property name used to sort the query results.

Enum:"id""ledgerId""address""createdAt""scope"
sortOrderstring

Sort order applied to the query results.

Enum:"ASC""DESC"
ledgerIdArray of strings

Return addresses matching given ledgers.

Exemplo:ledgerId=1234567&ledgerId=abcdefg
lastOnlyboolean

Return only last addresses for matching ledgers.

Exemplo:lastOnly=true
scopeArray of strings

Return addresses matching given scopes.

Items Enum:"Internal""External"
Exemplo:scope=External
curl -i -X GET \
  'https://docs.ripple.com/_mock/pt-br/products/custody/devbox/v1/domains/{domainId}/accounts/{accountId}/addresses?limit=1&startingAfter=497f6eca-6276-4993-bfeb-53cbbbba6f08&sortBy=id&sortOrder=ASC&ledgerId=1234567%2Cabcdefg&lastOnly=true&scope=External' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Respostas

Corpoapplication/json
itemsArray of objectsobrigatório
countinteger, (int32)obrigatório
currentStartingAfterstring
nextStartingAfterstring
Resposta
{ "items": [ { … } ], "count": 0, "currentStartingAfter": "string", "nextStartingAfter": "string" }