wrap_eth
Wrap native tokens like ETH or AVAX into their ERC-20 versions for DeFi protocols that require wrapped tokens, with amounts given in human-readable format.
Instructions
Wrap native tokens (ETH, AVAX, BNB, POL, PLS) into their wrapped ERC-20 version (WETH, WAVAX, etc.). Required for most DeFi protocols that use ERC-20 tokens instead of raw native tokens. Specify amount in human-readable format (e.g. "0.5" for 0.5 ETH).
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": {
"wallet_id": "<wallet_id>",
"amount": "<amount>",
"chain_id": "<chain_id>"
},
"name": "wrap_eth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to wrap in human-readable format (e.g. "0.5") | |
| chain_id | Yes | Chain ID | |
| wallet_id | Yes | Wallet ID |