UNPKG

@coinbase/cdp-sdk

Version:

SDK for interacting with the Coinbase Developer Platform Wallet API

11 lines (10 loc) 756 B
import { cdpApiClient } from "../../cdpApiClient.js"; /** * Lists the token balances of a Solana address on a given network. The balances include SPL tokens and the native SOL token. The response is paginated, and by default, returns 20 balances per page. **Note:** This endpoint is still under development and does not yet provide strong availability or freshness guarantees. Freshness and availability of new token balances will improve over the coming weeks. * @summary List Solana token balances */ export const listSolanaTokenBalances = (network, address, params, options) => { return cdpApiClient({ url: `/v2/solana/token-balances/${network}/${address}`, method: "GET", params }, options); }; //# sourceMappingURL=solana-token-balances.js.map