Portal Community
Mostly local: only chainId makes an RPC call. Every other operation on this page runs entirely locally against the supplied input — no network round trip.

validateAddress

FieldTypeRequiredDescription
addresstext✓ YesAddress string to validate.
{
  "success": true,
  "isValid": true,
  "isChecksumValid": true,
  "checksummedAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"
}

isValid checks basic format (20-byte hex); isChecksumValid checks the EIP-55 mixed-case checksum specifically — an all-lowercase or all-uppercase address is valid format but not checksum-valid.

convertUnits

FieldTypeRequiredDescription
valuetext✓ YesValue to convert.
fromUnittext✓ YesSource unit, e.g. ether, gwei, wei.
toUnittext✓ YesTarget unit.
{ "success": true, "valueWei": "1500000000000000000", "convertedValue": 1.5, "fromUnit": "ether", "toUnit": "ether" }

Conversion always chains through wei as the common base unit.

chainId — the only RPC call in this resource

eth_chainId. No operation-specific fields.

{ "success": true, "chainID": 1 }

encodeFunctionData / decodeFunctionData

OperationFieldsReturns
encodeFunctionDataabi* (JSON), functionName*, args{ "data": "0xa9059cbb...", "selector": "0xa9059cbb" } — full calldata plus the 4-byte selector.
decodeFunctionDataabi* (JSON), data*{ "functionName": "transfer", "selector": "0xa9059cbb", "decodedArgs": {"to":"0x...","amount":"1000000"} }

Useful for building contract.write/transaction.send calldata ahead of time, or decoding calldata pulled from transaction.get/block.get without making another call.

encodeEventTopics / decodeEventLog

OperationFieldsDescription
encodeEventTopicseventAbi* (JSON), argsBuilds an eth_getLogs topics filter array. topics[0] is always the event signature hash; later entries are either an encoded filter value or null (wildcard).
decodeEventLogeventAbi* (JSON), topics* (JSON array), data*Turns a raw log entry's topics/data into named event arguments.
{ "success": true, "eventName": "Transfer", "decodedArgs": { "from": "0x0000...", "to": "0x742d35Cc...", "value": "1000000" } }
Load-bearing pair: decodeEventLog is what turns the raw EthereumEventLogEntry objects returned by transaction.receipt and contract.logs into usable, named event data — those two operations deliberately return logs raw/undecoded and expect this pairing.

contractAddress

Predicts a contract's deployment address ahead of (or after) deployment — CREATE via nonce, or CREATE2 via bytecode hash + salt.

FieldTypeRequiredDescription
fromtext✓ YesDeployer address.
noncenumberOne of nonce / bytecodeHash+saltDeployer's nonce at time of deployment — for CREATE prediction.
bytecodeHashtextOne of nonce / bytecodeHash+saltKeccak256 hash of the init code — for CREATE2 prediction.
salttextOne of nonce / bytecodeHash+saltCREATE2 salt value.
{ "success": true, "contractAddress": "0x5FbDB2315678afecb367f032d93F642f64180aa", "method": "CREATE" }