Mint Tokens
Introduction
Mint Tokens (mint), mints tokens to a specified address.
Parameters
Request Parameters:
| Name | Type | Description |
|---|---|---|
| jsonrpc | string | Fixed value:2.0 |
| method | string | Method name. Fixed value: mint |
| token | string | Token address |
| nonce | int | Nonce |
| recentCheckpoint | int | Block height |
| methodArgs | array | Dynamic contract parameters — Arg1: recipient address, Arg2: amount |
| signature | object | Signature result |
Request Example:
{
"jsonrpc": "2.0",
"method": "mint",
"params": {
"nonce": 1,
"token": "0x...",
"methodArgs": [
"0x1234567890123456789012345678901234567890",
"1000000000000000000"
],
"recentCheckpoint": 12346,
"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
