IntroduçãoAPI Reference
IntroduçãoAPI Reference
  1. Wallets
  • 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. Wallets

Create a new wallet

Sandbox
https://api.tokenone.com.br
Sandbox
https://api.tokenone.com.br
POST
https://api.tokenone.com.br
/v1/wallets
Create a new smart account wallet on the specified network with gas sponsorship (gasless deployment)

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/wallets' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "extRef": "investor-12345",
    "network": "polygon-mainnet"
}'
Response Response Example
201 - Exemplo 1
{
    "address": "string",
    "createdAt": "string",
    "deploymentTxHash": "string",
    "deploymentTxId": "string",
    "errorMessage": "string",
    "explorerUrl": "string",
    "extRef": "string",
    "id": "string",
    "lastRetryAt": "string",
    "network": "polygon-mainnet",
    "retryCount": 0,
    "status": "pending",
    "tenantId": "string",
    "updatedAt": "string"
}
Próxima página
List wallets
Built with