Get Token Contract for Product

Helper utility to retrieve the ERC20 token contract for a spot product

See getTokenContractForProduct API reference for more details.

Usage

import { createVertexClient } from '@vertex-protocol/client';

const productId = 1
const vertexClient = await createVertexClient('testnet', ...);
const res = await vertexClient.spot.getTokenContractForProduct(productId);

Last updated