GuidesAPI Reference
GuidesAPI Reference
  1. Tokens
  • wallets
    • Create a new wallet
      POST
    • Get wallet details
      GET
    • List wallets
      GET
  • Tokens
    • Deploy and register a new token
      POST
    • Mint tokens
      POST
    • Burn tokens
      POST
    • Burn tokens from a specific wallet
      POST
    • List tokens
      GET
    • Pause token transfers
      POST
    • Unpause token transfers
      POST
    • Block user from token transfers
      POST
    • Unblock user from token transfers
      POST
  • Transfers
    • Create a new transfer
      POST
    • Get transfer details
      GET
    • List transfers
      GET
  • Transactions
    • Execute an arbitrary contract call
      POST
  • Audit
    • Query audit logs
      GET
  1. Tokens

Burn tokens from a specific wallet

POST
https://caas-api.tokenone.com.br//v1/tokens/{contractAddress}/burn-from
Burn tokens from any wallet address (custodial burn). Only the token owner can execute this operation.

Requisição

Authorization
API Key
Adicionar parâmetro em header
x-api-key
Exemplo:
x-api-key: ********************
or
Parâmetros de Caminho

Parâmetros Bodyapplication/jsonNecessário

Examples

Respostas

🟢200
application/json
Transaction hash
Bodyapplication/json

🟠400
🟠401
🟠404
🔴500
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://caas-api.tokenone.com.br//v1/tokens//burn-from' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "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
Burn tokens
Próxima página
List tokens
Built with