Withdraw

Withdraws Spot collateral through the engine.

See withdraw API reference for more details.

Makes a call to REST API > Executes > Withdraw Collateral via the SDK.

Usage

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

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

Last updated