Skip to main content

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

POST 

/wallet/p2sh/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 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.

    create_melt boolean

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

    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.

    mark_inputs_as_used boolean

    If we should lock the utxos chosen as inputs so they are not chosen when creating another transaction.

Responses

Melt tokens.

Schema

    any

Loading...