Burn Tokens
Introduction
Burn Tokens (adminBurn). Allows an administrator to burn tokens from a specified address.
Parameters
Request Parameters:
| Name | Type | Description |
|---|---|---|
| jsonrpc | string | Fixed value:2.0 |
| method | string | Method name. Fixed value: adminBurn |
| token | string | Token address |
| nonce | int | Nonce |
| recentCheckpoint | int | Block height |
| methodArgs | array | Dynamic contract parameters — Arg1: target address, Arg2: amount |
| signature | object | Signature result |
Request Example:
{
"jsonrpc": "2.0",
"method": "adminBurn",
"params": {
"nonce": 5,
"token": "0x...",
"methodArgs": [
"0x1234567890123456789012345678901234567890",
"500000000000000000"
],
"recentCheckpoint": 12350,
"signature": {
"r": "string",
"s": "string",
"v": "string"
}
},
"id": 1
}Response Parameters:
| Name | Type | Description |
|---|---|---|
| hash | string | Contract call hash |
Response Example:
{
"jsonrpc": "2.0",
"result": {
"hash": "0x..."
},
"id": 1
}Updated 3 months ago
