POST
/
transactions
/
mints

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <API_KEY>.

Body

application/json
contractId
string
required

The id of the contract from which the tokens will be minted.

walletId
string
required

The id of the wallet that will receive the tokens.

quantity
number
default: 1

The quantity of tokens to be minted. Required if minting fungible tokens.

uriNumber
number
required

The sequential identifier of the token type within the contract.

Response

202 - application/json
id
string

The id of the transaction.

walletId
string

The id of the wallet that performed the transaction.

status
enum<string>

The status of the transaction on the blockchain.

Available options:
pending,
success,
failed
transactionHash
string | null

The identifier of this transaction on the blockchain.

blockExplorerUrl
string | null

The URL of the block explorer where the details of this transaction can be read.

result
object

Contains detailed information about the transaction receipts, including cost, messages, and operation results.

request
object

An object containing the parameters used for this transaction.

type
enum<string>

The type of transaction.

Available options:
mint
createdAt
string

The timestamp from when the transaction was submitted.

updatedAt
string

The timestamp from when the transaction was last updated.

completedAt
string | null

The timestamp from when the transaction was completed.