bnbchain-mcp

Official
by bnb-chain
MIT License
353
2

transfer_erc20

Transfer ERC20 tokens between addresses using a private key for signing. Specify token, recipient, and amount; defaults to BSC mainnet. Supports various networks.

Instructions

Transfer ERC20 tokens to an address

Input Schema

NameRequiredDescriptionDefault
amountYesAmount of tokens to send as a string (e.g., '100' for 100 tokens). This will be adjusted for the token's decimals.
networkNoNetwork name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet.bsc
privateKeyNoPrivate key of the sender account in hex format (with or without 0x prefix). SECURITY: This is used only for transaction signing and is not stored.0x5a2b7e4d9c8f1a3e6b0d2c5f4e3d2a1b0c9f8e7d6a5b4c3d2e1f0a9b8c7d6e5f4
toAddressYesThe recipient address or ENS name that will receive the tokens (e.g., '0x1234...' or 'vitalik.eth')
tokenAddressYesThe contract address or ENS name of the ERC20 token to transfer (e.g., '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' for USDC or 'uniswap.eth')

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "amount": { "description": "Amount of tokens to send as a string (e.g., '100' for 100 tokens). This will be adjusted for the token's decimals.", "type": "string" }, "network": { "default": "bsc", "description": "Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet.", "type": "string" }, "privateKey": { "default": "0x5a2b7e4d9c8f1a3e6b0d2c5f4e3d2a1b0c9f8e7d6a5b4c3d2e1f0a9b8c7d6e5f4", "description": "Private key of the sender account in hex format (with or without 0x prefix). SECURITY: This is used only for transaction signing and is not stored.", "type": "string" }, "toAddress": { "description": "The recipient address or ENS name that will receive the tokens (e.g., '0x1234...' or 'vitalik.eth')", "type": "string" }, "tokenAddress": { "description": "The contract address or ENS name of the ERC20 token to transfer (e.g., '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' for USDC or 'uniswap.eth')", "type": "string" } }, "required": [ "tokenAddress", "toAddress", "amount" ], "type": "object" }
ID: t6zbvd82tr