Executes

Builds Websocket execute messages.

Builds WS message for Websocket > Executes > Place Order

const msg = vertexClient.ws.execute.buildPlaceOrderMessage(...)

Builds WS message for Websocket > Executes > Cancel Orders

const msg = vertexClient.ws.execute.buildCancelOrdersMessage(...)

Builds WS message for Websocket > Executes > Withdraw Collateral

const msg = await vertexClient.ws.execute.buildWithdrawCollateralMessage(...)

Builds WS message for Websocket > Executes > Liquidate Subaccount

const res = await vertexClient.ws.execute.buildLiquidateSubaccountMessage(...)

Builds WS message for Websocket > Executes > Mint LP

const res = await vertexClient.ws.execute.buildMintLpMessage(...)

Builds WS message for Websocket > Executes > Burn LP

const res = await vertexClient.ws.execute.buildBurnLpMessage(...)

Last updated