listAccounts
Lists all smart accounts for a given signer using the wallet API client.
Import
Usage
Parameters
client
InnerWalletApiClient
- The wallet API client to use for the request
signer
SmartAccountSigner
- The signer for which to list accounts
params
ListAccountsParams
- Parameters for listing accounts
params.signerAddress
string
- The address of the signer to list accounts for
params.limit
number
- Optional maximum number of accounts to return (default: 100, max: 100)
params.after
string
- Optional pagination cursor for fetching subsequent pages
Returns
Promise<ListAccountsResult>
A Promise that resolves to the list of accounts and pagination metadata