evm_mint_nft
Mints new ERC721 NFTs with an optional metadata URI on seven EVM test networks; requires a unique token ID and minter role on the contract.
Instructions
Mint new ERC721 NFT with metadata URI. Requires minter role on contract.
CRITICAL RULES:
Must have MINTER_ROLE or be owner
tokenId must be unique (not already minted)
tokenUri links to JSON metadata (IPFS recommended)
Requires gas for transaction
PARAMETERS:
contractAddress: NFT collection (required)
to: Recipient address (required)
tokenId: Unique ID as string (required)
tokenUri: Metadata URI (optional)
privateKey: Minter key (required)
EXAMPLES: ✅ Mint NFT #1 with IPFS metadata: {chain: "polygon", contractAddress: "0xNFT...", to: "0x742d35...", tokenId: "1", tokenUri: "ipfs://QmABC...", privateKey: "0x..."}
SUPPORTED EVM CHAINS (7 networks): • ethereum (Sepolia) - EIP-1559 enabled, ~12s blocks, moderate gas costs • polygon (Amoy) - Low fees, fast finality (~2s), layer 2 • avalanche (Fuji C-Chain) - Sub-second finality, dynamic fees • bsc (BNB Testnet) - 3s blocks, low gas costs, Binance ecosystem • arbitrum (Sepolia) - Optimistic rollup, low fees, Ethereum security • base (Sepolia) - Coinbase layer 2, EIP-1559, low fees • worldchain (World Sepolia) - World Network testnet, EIP-1559
CRITICAL GAS CONSIDERATIONS:
Ethereum: High gas costs, use gas oracle for timing
Polygon/BSC: Very low gas, safe for frequent transactions
Arbitrum/Base: L2 optimizations, ~10-50x cheaper than Ethereum
Avalanche: Dynamic fees, can spike during congestion
Always check gas price before executing transactions
TESTNET TOKENS: All chains use testnet tokens with NO REAL VALUE. Faucets available for all supported networks.
Running on Linux.
LINUX-SPECIFIC NOTES:
Package manager: apt (Ubuntu/Debian), yum (RHEL/CentOS), or pacman (Arch)
Python 3 is typically 'python3' command
GNU tools are standard
Use 'xdg-open' command to open files/applications
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chain": "<chain>",
"contractAddress": "<contractAddress>",
"to": "<to>",
"tokenId": "<tokenId>",
"privateKey": "<privateKey>"
},
"name": "evm_mint_nft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient address (0x...) | |
| chain | Yes | EVM chain to execute on | |
| tokenId | Yes | Token ID to mint | |
| tokenUri | No | Optional: Metadata URI (IPFS, HTTP, or base64) | |
| privateKey | Yes | Minter private key (0x...) | |
| contractAddress | Yes | NFT contract address (0x...) |