IntroduçãoAPI Reference
IntroduçãoAPI Reference
  1. Tokens
  • Wallets
    • Create a new wallet
      POST
    • List wallets
      GET
    • Get wallet details
      GET
  • Tokens
    • Deploy and register a new token
      POST
    • List tokens
      GET
    • Mint tokens
      POST
    • Burn tokens
      POST
    • Burn tokens from a wallet
      POST
    • Pause token transfers
      POST
    • Unpause token transfers
      POST
    • Block user from token transfers
      POST
    • Burn tokens from a specific wallet
      POST
    • Unblock user from token transfers
      POST
  • Transfers
    • Create a new transfer
      POST
    • List transfers
      GET
    • Get transfer details
      GET
  • Audit
    • Query audit logs
      GET
IntroduçãoAPI Reference
IntroduçãoAPI Reference
  1. Tokens

Mint tokens

Sandbox
https://api.tokenone.com.br
Sandbox
https://api.tokenone.com.br
POST
https://api.tokenone.com.br
/v1/tokens/{contractAddress}/mint
Mint new tokens to a specified address. If 'to' is not provided, tokens are minted to the token owner wallet.

Requisição

Authorization
Parâmetros de Caminho

Parâmetros Bodyapplication/jsonNecessário

Examples

Respostas

🟢200
application/json
Transaction hash
Body

🟠400
🟠401
🟠404
🔴500
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.tokenone.com.br/v1/tokens//mint' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "amountTokens": "1000.50",
    "from": "0x8A12c5FDa60E0817BD969bD247490CED3a17329c",
    "metadata": {
        "property1": "string",
        "property2": "string"
    },
    "reason": "Subscrição de debênture",
    "to": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb1"
}'
Response Response Example
200 - Exemplo 1
{
    "property1": "string",
    "property2": "string"
}
Página anterior
List tokens
Próxima página
Burn tokens
Built with