Skip to main content

Melt tokens.

POST 

/wallet/melt-tokens

Melt tokens.

Request

Header Parameters

    x-wallet-id stringrequired

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

Body

required

Data to melt tokens.

    token stringrequired

    UID of the token to melt.

    amount integerrequired

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

    change_address string

    Optional address to send the change amount of custom tokens after melt.

    deposit_address string

    Optional address to send the deposit HTR received after the melt.

    melt_authority_address string

    Optional address to send the new 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.

    unshift_data boolean

    Add data outputs at the beginning of the outputs. Default is true.

    data string[]

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

Responses

Melt tokens.

Schema

    any

Loading...