sellTokens

Function: sellTokens()

function sellTokens<ThrowOnError>(options: OmitKeys<RequestOptions<ThrowOnError>, "body" | "url"> & SellTokensData & Pick<RequestOptions<ThrowOnError>, "headers">): RequestResult<TokenTransaction, ErrorResponse, ThrowOnError>

Defined in: packages/api/src/client/sdk.gen.ts:199

Sell a token to the Bid contract.
Allows token owners to sell their tokens to the Bid contract.

Type Parameters

ThrowOnError extends boolean = false

Parameters

options

OmitKeys<RequestOptions<ThrowOnError>, "body" | "url"> & SellTokensData & Pick<RequestOptions<ThrowOnError>, "headers">

Returns

RequestResult<TokenTransaction, ErrorResponse, ThrowOnError>