curl --request POST \
  --url https://api.turnkey.com/public/v1/query/list_wallet_accounts \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header "X-Stamp: <string> (see Authorizations)" \
  --data '{
    "organizationId": "<string>",
    "walletId": "<string>",
    "paginationOptions": {
        "limit": "<string>",
        "before": "<string>",
        "after": "<string>"
    }
}'
{
  "accounts": [
    {
      "walletAccountId": "<string>",
      "organizationId": "<string>",
      "walletId": "<string>",
      "curve": "<CURVE_SECP256K1>",
      "pathFormat": "<PATH_FORMAT_BIP32>",
      "path": "<string>",
      "addressFormat": "<ADDRESS_FORMAT_UNCOMPRESSED>",
      "address": "<string>",
      "createdAt": {
        "seconds": "<string>",
        "nanos": "<string>"
      },
      "updatedAt": {
        "seconds": "<string>",
        "nanos": "<string>"
      },
      "publicKey": "<string>"
    }
  ]
}
POST
/
public
/
v1
/
query
/
list_wallet_accounts

Authorizations

X-Stamp
string
required
Cryptographically signed (stamped) request to be passed in as a header. For more info, see here.

Body

organizationId
string
required
Unique identifier for a given organization.
walletId
string
Unique identifier for a given wallet. If not provided, all accounts for the organization will be returned.
paginationOptions
object

paginationOptions field

Response

A successful response returns the following fields:
accounts
array
required
A list of accounts generated from a wallet that share a common seed.
curl --request POST \
  --url https://api.turnkey.com/public/v1/query/list_wallet_accounts \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header "X-Stamp: <string> (see Authorizations)" \
  --data '{
    "organizationId": "<string>",
    "walletId": "<string>",
    "paginationOptions": {
        "limit": "<string>",
        "before": "<string>",
        "after": "<string>"
    }
}'
{
  "accounts": [
    {
      "walletAccountId": "<string>",
      "organizationId": "<string>",
      "walletId": "<string>",
      "curve": "<CURVE_SECP256K1>",
      "pathFormat": "<PATH_FORMAT_BIP32>",
      "path": "<string>",
      "addressFormat": "<ADDRESS_FORMAT_UNCOMPRESSED>",
      "address": "<string>",
      "createdAt": {
        "seconds": "<string>",
        "nanos": "<string>"
      },
      "updatedAt": {
        "seconds": "<string>",
        "nanos": "<string>"
      },
      "publicKey": "<string>"
    }
  ]
}