Skip to main content
POST
/
mint
Mint new asset
curl --request POST \
  --url https://api.platform.dakota.xyz/mint \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-idempotency-key: <x-idempotency-key>' \
  --data '
{
  "asset": "MYUSD",
  "amount": "100.00",
  "target": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
  "network_id": "ethereum-mainnet"
}
'
{
  "hash": "0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be00f06fc13a42c20538dfaced"
}

Authorizations

x-api-key
string
header
required

Headers

x-idempotency-key
string<uuid>
required

Unique key to ensure request idempotency. If the same key is used within a certain time window, the original response will be returned instead of executing the request again.

Body

application/json

Payload for minting an asset.

Request object for minting or burning digital assets on supported blockchain networks.

asset
string
required

Unique asset identifier for the token to mint or burn, such as 'USDC' or 'bealUSD'.

Example:

"MYUSD"

amount
string
required

Amount to mint/burn in common unit represented as a decimal string. Must be a valid numeric string.

Example:

"100.00"

target
string
required

Blockchain wallet address that will receive the minted tokens or from which tokens will be burned.

Example:

"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"

network_id
enum<string>
required

Identifier for a blockchain network

Available options:
ethereum-mainnet,
ethereum-sepolia,
ethereum-goerli,
ethereum-holesky,
solana-mainnet,
solana-devnet,
solana-testnet,
base-mainnet,
base-sepolia,
arbitrum-mainnet,
arbitrum-sepolia,
optimism-mainnet,
optimism-sepolia,
avalanche-mainnet,
avalanche-fuji,
polygon-mainnet,
polygon-amoy
Required string length: 1 - 30
Example:

"ethereum-mainnet"

Response

Asset mint broadcast successfully.

Response returned after a successful mint or burn operation with transaction details.

hash
string

Transaction hash of the operation that can be used to track the transaction on the blockchain.

Example:

"0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be00f06fc13a42c20538dfaced"