List Wallets Accounts
API Reference
- Overview
- Organizations
- Invitations
- Policies
- Features
Wallets and Private Keys
Users
- Users
- User Tags
- User Recovery
- User Auth
Credentials
- Authenticators
- API keys
- Sessions
Activities
- Activities
- Consensus
List Wallets Accounts
List all Accounts within a Wallet
POST
/
public
/
v1
/
query
/
list_wallet_accounts
curl --request POST \
--url https://api.turnkey.com/public/v1/query/list_wallet_accounts \
--header 'Content-Type: application/json' \
--header 'X-Stamp: <api-key>' \
--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>"
}
}
]
}
Authorizations
Body
application/json
Unique identifier for a given Organization.
Unique identifier for a given Wallet.
A limit of the number of object to be returned, between 1 and 100. Defaults to 10.
A pagination cursor. This is an object ID that enables you to fetch all objects before this ID.
A pagination cursor. This is an object ID that enables you to fetch all objects after this ID.
Response
200 - application/json
A successful response.
A list of Accounts generated from a Wallet that share a common seed.
Unique identifier for a given Wallet Account.
The Organization the Account belongs to.
The Wallet the Account was derived from.
Available options:
CURVE_SECP256K1
, CURVE_ED25519
Available options:
PATH_FORMAT_BIP32
Path used to generate the Account.
Available options:
ADDRESS_FORMAT_UNCOMPRESSED
, ADDRESS_FORMAT_COMPRESSED
, ADDRESS_FORMAT_ETHEREUM
, ADDRESS_FORMAT_SOLANA
, ADDRESS_FORMAT_COSMOS
, ADDRESS_FORMAT_TRON
, ADDRESS_FORMAT_SUI
, ADDRESS_FORMAT_APTOS
, ADDRESS_FORMAT_BITCOIN_MAINNET_P2PKH
, ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH
, ADDRESS_FORMAT_BITCOIN_MAINNET_P2WPKH
, ADDRESS_FORMAT_BITCOIN_MAINNET_P2WSH
, ADDRESS_FORMAT_BITCOIN_MAINNET_P2TR
, ADDRESS_FORMAT_BITCOIN_TESTNET_P2PKH
, ADDRESS_FORMAT_BITCOIN_TESTNET_P2SH
, ADDRESS_FORMAT_BITCOIN_TESTNET_P2WPKH
, ADDRESS_FORMAT_BITCOIN_TESTNET_P2WSH
, ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR
, ADDRESS_FORMAT_BITCOIN_SIGNET_P2PKH
, ADDRESS_FORMAT_BITCOIN_SIGNET_P2SH
, ADDRESS_FORMAT_BITCOIN_SIGNET_P2WPKH
, ADDRESS_FORMAT_BITCOIN_SIGNET_P2WSH
, ADDRESS_FORMAT_BITCOIN_SIGNET_P2TR
, ADDRESS_FORMAT_BITCOIN_REGTEST_P2PKH
, ADDRESS_FORMAT_BITCOIN_REGTEST_P2SH
, ADDRESS_FORMAT_BITCOIN_REGTEST_P2WPKH
, ADDRESS_FORMAT_BITCOIN_REGTEST_P2WSH
, ADDRESS_FORMAT_BITCOIN_REGTEST_P2TR
, ADDRESS_FORMAT_SEI
, ADDRESS_FORMAT_XLM
, ADDRESS_FORMAT_DOGE_MAINNET
, ADDRESS_FORMAT_DOGE_TESTNET
, ADDRESS_FORMAT_TON_V3R2
, ADDRESS_FORMAT_TON_V4R2
, ADDRESS_FORMAT_XRP
Address generated using the Wallet seed and Account parameters.
Was this page helpful?
curl --request POST \
--url https://api.turnkey.com/public/v1/query/list_wallet_accounts \
--header 'Content-Type: application/json' \
--header 'X-Stamp: <api-key>' \
--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>"
}
}
]
}