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.

    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

Mint tokens.

Schema

    any

Loading...