Approve Allowance
Approves allowance of a provided amount to the on-chain Endpoint contract. Required to be able to deposit collateral.
Makes a call to approveAllowance
of a provided amount to the on-chain token contract of a given Spot productId
.
Usage
import { createVertexClient } from '@vertex-protocol/client';
const vertexClient = await createVertexClient('arbitrumTestnet', ...);
const res = await vertexClient.spot.approveAllowance(...);
Last updated