Skip to main content

Get the hex representation of a melt tokens transaction without input data.

POST 

/wallet/tx-proposal/melt-tokens

Get the hex representation of a melt tokens 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 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.

    deposit_address string

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

    change_address string

    Optional address to send the change amount of custom tokens after 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.

Responses

Melt tokens.

Schema

    any

Loading...