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