transfer_native_token
Transfer native tokens (BNB, ETH, MATIC, etc.) to a specified address using a private key for signing transactions. Supports multiple networks, including BSC and Ethereum.
Instructions
Transfer native tokens (BNB, ETH, MATIC, etc.) to an address
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | Yes | Amount to send in BNB (or the native token of the network), as a string (e.g., '0.1') | |
network | No | Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet. | bsc |
privateKey | No | 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. | 0x5a2b7e4d9c8f1a3e6b0d2c5f4e3d2a1b0c9f8e7d6a5b4c3d2e1f0a9b8c7d6e5f4 |
to | Yes | The recipient address or ENS name (e.g., '0x1234...' or 'vitalik.eth') |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"amount": {
"description": "Amount to send in BNB (or the native token of the network), as a string (e.g., '0.1')",
"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"
},
"to": {
"description": "The recipient address or ENS name (e.g., '0x1234...' or 'vitalik.eth')",
"type": "string"
}
},
"required": [
"to",
"amount"
],
"type": "object"
}