Client for querying and executing against Vertex Clearinghouse. Usually not instantiated directly. Instead, use createVertexClient:CLIENT.

Constructors

Properties

market: MarketAPI
subaccount: SubaccountAPI
spot: SpotAPI
perp: PerpAPI
rewards: RewardsAPI

Methods

  • Sets the linked signer for the client. Set to null to revert to the chain signer.

    Parameters

    • linkedSigner: null | Signer

    Returns void

  • Sets the signer or provider for the client. Will cause a full reload of the current context.

    Parameters

    • signerOrProvider: Signer | Provider

    Returns Promise<void>