Vaults
Returns all the resource vaults associated with a given account locker. The returned response is in a paginated format, ordered by the most recent resource vault creation on the ledger.
Body
all ofOptionalExample:
{"locker_address":"<locker-address>","account_address":"<account-address>"}
Responses
200
Account Locker vaults (paginated)
application/json
Responseall of
4XX
Client-originated request error
application/json
post
POST /state/account-locker/page/vaults HTTP/1.1
Host: xrd-gateway.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 75
{
"locker_address": "<locker-address>",
"account_address": "<account-address>"
}
{
"ledger_state": {
"network": "<network-name>",
"state_version": 1,
"proposer_round_timestamp": "text",
"epoch": 1,
"round": 1
},
"total_count": 1,
"next_cursor": "text",
"items": [
{
"type": "Fungible",
"resource_address": "text",
"vault_address": "text",
"last_updated_at_state_version": 1
}
],
"locker_address": "text",
"account_address": "text"
}