SubaccountsList
List all subaccounts IDs of an account address
Path parameters
accountAddressstring ยท min: 42 ยท max: 42RequiredExample:
Account address, the subaccounts owner
inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r
Pattern: ^inj1[0-9a-zA-Z]{38}$
Responses
200
OK response.
application/json
400
Bad Request response.
application/vnd.goa.error
404
Not Found response.
application/vnd.goa.error
500
Internal Server Error response.
application/vnd.goa.error
get
GET /api/exchange/account/v1/subaccountsList/{accountAddress} HTTP/1.1
Host: inj-indexer.nownodes.io
Accept: */*
{
"subaccounts": [
"0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000000",
"0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000001",
"0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002"
]
}