Skip to main content

actions/getCustomerWallets

Actions

GetCustomerWalletsFn()

GetCustomerWalletsFn: (params) => Promise\<{address: string;chain: string;verified: boolean; }[]>

Get the wallets of a customer

Parameters

params

The parameters required to get the wallets

params.customerId: string

Returns

Promise\<{address: string;chain: string;verified: boolean; }[]>

The wallets of the customer

Example

import { createSdk } from "@compilot/js-sdk";

const compilotSdk = createSdk({ apiKey });

const wallets = await compilotSdk.getCustomerWallets({
customerId: "123",
});