mint_nft
Create and assign a new NFT for mintable ERC721 contracts on the Rootstock blockchain by specifying contract address, recipient, token ID, and optional metadata URI using the Mint NFT tool.
Instructions
Mint a new NFT for mintable ERC721 contracts
Input Schema
Name | Required | Description | Default |
---|---|---|---|
gasLimit | No | Optional gas limit | |
gasPrice | No | Optional gas price | |
to | Yes | Address to mint NFT to | |
tokenAddress | Yes | Contract address of the mintable NFT | |
tokenId | Yes | Token ID for the new NFT | |
tokenURI | No | Metadata URI for the NFT (optional) |
Input Schema (JSON Schema)
{
"properties": {
"gasLimit": {
"description": "Optional gas limit",
"type": "string"
},
"gasPrice": {
"description": "Optional gas price",
"type": "string"
},
"to": {
"description": "Address to mint NFT to",
"type": "string"
},
"tokenAddress": {
"description": "Contract address of the mintable NFT",
"type": "string"
},
"tokenId": {
"description": "Token ID for the new NFT",
"type": "string"
},
"tokenURI": {
"description": "Metadata URI for the NFT (optional)",
"type": "string"
}
},
"required": [
"tokenAddress",
"to",
"tokenId"
],
"type": "object"
}