Base
Base
Base
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
web3_sha3 computes the Keccak-256 hash of a piece of hex-encoded data and returns the 32-byte digest. Despite the name "sha3," this is the original Keccak-256 used throughout the EVM, not the later NIST SHA3-256 standard — the two produce different output for the same input. Base is Coinbase's OP Stack optimistic rollup that settles to Ethereum and uses ETH for gas, and because it runs the same EVM as Ethereum, Keccak-256 hashing underpins how its contracts derive event topics, function selectors, and storage slots. Call it at https://base.therpc.io/YOUR_API_KEY on chain ID 8453 (hex 0x2105).
Transfer(address,address,uint256) (hex-encoded) so you can filter Base logs with eth_getLogs for that exact topic.| # | Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|---|
| 1 | data | string | Ja | Arbitrary data to hash, provided as a 0x-prefixed hex string. Empty input (`"0x"`) is valid. |
| Typ | Beschreibung |
|---|---|
| string | 0x-prefixed 32-byte (64-character) Keccak-256 hash of the input. |
Try it live in the Base playground.
| Code | Meldung | Ursache |
|---|---|---|
-32602 | invalid argument | Input is not a valid 0x-prefixed hex string. |
web3_sha3 before relying on offline computation for Base.Parameter
0x-prefixed hex string