Burn Tokens

Introduction

Burn Tokens (adminBurn). Allows an administrator to burn tokens from a specified address.

Parameters

Request Parameters:

NameTypeDescription
jsonrpcstringFixed value:2.0
methodstringMethod name. Fixed value: adminBurn
tokenstringToken address
nonceintNonce
recentCheckpointintBlock height
methodArgsarrayDynamic contract parameters — Arg1: target address, Arg2: amount
signatureobjectSignature 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:

NameTypeDescription
hashstringContract call hash

Response Example:

{
  "jsonrpc": "2.0",
  "result": {
    "hash": "0x..."
  },
  "id": 1
}