Deposit

Deposits Spot collateral onto Vertex.

See deposit API reference for more details.

Makes a call to deposit a provided amount of collateral to the on-chain Endpoint contract via the SDK.

Usage

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

const vertexClient = await createVertexClient('testnet', ...);
const res = await vertexClient.spot.deposit(...);

Last updated