Contracts

A collection of helper functions that includes interactions with Ethers contracts. Vertex contracts can be accessed via the context property on the top level client.

Usage

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

const vertexClient = await createVertexClient('testnet', ...);
const res = await vertexClient.context.contracts.querier(...);

Last updated