Skip to main content

Get the hex representation of a create a token transaction without input data.

POST 

/wallet/p2sh/tx-proposal/create-token

Get the hex representation of a create a token transaction without input data.

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

    Optional 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.

Responses

Create the token

Schema

    any

Loading...