Get Token Allowance
Helper utility to get a wallet's token allowance for a given product
Usage
import { createVertexClient } from '@vertex-protocol/client';
const productId = 1
const vertexClient = await createVertexClient('arbitrumTestnet', ...);
const res = await vertexClient.spot.getTokenAllowance(productId, "0xad432...");
Last updated