launchToken

Function: launchToken()

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

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

Deploy a new fungible token contract.
The launch endpoint is used to deploy a new fungible token on the Mina blockchain.
It allows users to create a new token with customizable parameters such as symbol,
decimals, URI, and admin contract type (standard or advanced).

Type Parameters

ThrowOnError extends boolean = false

Parameters

options

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

Returns

RequestResult<TokenTransaction, ErrorResponse, ThrowOnError>