EvmTools enables agents to interact with Ethereum and EVM-compatible blockchains for transactions and smart contract operations.
Parameter | Type | Default | Description |
---|---|---|---|
private_key | Optional[str] | None | Private key for signing transactions. Uses EVM_PRIVATE_KEY. |
rpc_url | Optional[str] | None | RPC URL for blockchain connection. Uses EVM_RPC_URL. |
enable_send_transaction | bool | True | Enable transaction sending functionality. |
Function | Description |
---|---|
send_transaction | Send ETH or interact with smart contracts on the blockchain. |
get_balance | Get ETH balance for an address. |
get_transaction | Get transaction details by hash. |
estimate_gas | Estimate gas cost for a transaction. |