Skip to main content

Create a token.

POST 

/wallet/create-token

Create a token.

Request

Header Parameters

    x-wallet-id stringrequired

    Defines the key of the wallet on which the request will be executed.

Body

required

Data to create the token.

    name stringrequired

    Name of the token.

    symbol stringrequired

    Symbol of the token.

    amount integerrequired

    The amount of tokens to mint. It must be an integer with the value in cents, i.e., 123 means 1.23.

    address string

    Destination address of the minted tokens.

    change_address string

    Optional address to send the change amount.

    create_mint boolean

    If should create mint authority for the created token. Default is true.

    mint_authority_address string

    Optional address to send the mint authority output created.

    allow_external_mint_authority_address boolean

    If the mint authority address is allowed to be from another wallet. Default is false.

    create_melt boolean

    If should create melt authority for the created token. Default is true.

    melt_authority_address string

    Optional address to send the melt authority output created.

    allow_external_melt_authority_address boolean

    If the melt authority address is allowed to be from another wallet. Default is false.

    data string[]

    List of utf-8 encoded strings to create a data output for each.

Responses

Create the token

Schema

    any

Loading...