convert_evm
Offline EVM utilities, no chain call: op='checksum' (EIP-55 checksum and validity of input=address), op='convert' (unit conversion wei…gwei…eth: input=value, from=unit, to=unit), op='selector' (4-byte selector and topic0 of input=function signature) and op='keccak' (keccak256 of input text). Use it for address hygiene and unit maths before an rpc_call. Not for verifying a signature (use verify_signature) or decoding calldata (use decode_calldata). Returns JSON: checksum → valid_address, checksummed; convert → value, from, to, result; selector → signature, selector, topic0; keccak → input, keccak256. Read-only, deterministic. Needs your API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | One of: checksum, convert, selector, keccak | |
| to | No | convert only: target unit, e.g. 'wei' | |
| from | No | convert only: source unit, e.g. 'eth' | |
| input | Yes | The address / value / signature / text |