Get Token Wallet Balance
Helper utility to get current token balance of a provided wallet (i.e. not in a Vertex subaccount).
Usage
import { createVertexClient } from '@vertex-protocol/client';
const productId = 1
const vertexClient = await createVertexClient('arbitrumTestnet', ...);
const res = await vertexClient.spot.getTokenWalletBalance(productId, "0x34w...");
Last updated