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

Deploy and register a new token

Sandbox
https://api.tokenone.com.br
Sandbox
https://api.tokenone.com.br
POST
https://api.tokenone.com.br
/v1/tokens
Deploy a new ERC-20 token contract and register it

Requisição

Authorization
Parâmetros Bodyapplication/jsonNecessário

Examples

Respostas

🟢201
application/json
Created
Body

🟠400
🟠401
🟠422
🔴500
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.tokenone.com.br/v1/tokens' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "decimals": 6,
    "initialSupplyTokens": "10000000",
    "maxSupplyTokens": "100000000",
    "metadata": {
        "property1": "string",
        "property2": "string"
    },
    "name": "Debenture Empresa XYZ 2025",
    "network": "polygon-mainnet",
    "symbol": "DEBXYZ25",
    "walletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb1"
}'
Response Response Example
201 - Exemplo 1
{
    "contractAddress": "string",
    "createdAt": "string",
    "decimals": 0,
    "deployed": true,
    "deploymentTransactionHash": "string",
    "explorerUrl": "string",
    "id": "string",
    "metadata": {
        "property1": "string",
        "property2": "string"
    },
    "name": "string",
    "network": "polygon-mainnet",
    "symbol": "string",
    "tenantId": "string",
    "updatedAt": "string",
    "walletAddress": "string"
}
Página anterior
Get wallet details
Próxima página
List tokens
Built with