Skip to main content

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

POST 

/wallet/p2sh/tx-proposal/mint-tokens

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

    token stringrequired

    UID of the token to mint.

    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 another mint authority for the created token. Default is true.

    mint_authority_address string

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

    mark_inputs_as_used boolean

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

Responses

Mint tokens.

Schema

    any

Loading...