web3_sha3 - Boba Network RPC Method
Calculate Keccak-256 hash on Boba Network.
Returns Keccak-256 (not standard SHA3-256) of the given data on Boba Network.
Request Parameters
Data to hash
Response Body
Keccak-256 hash of the data
Code Examples
curl -X POST https://api-boba-mainnet.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "web3_sha3",
"params": ["0x68656c6c6f"],
"id": 1
}'import { JsonRpcProvider, keccak256, toUtf8Bytes } from 'ethers';
const provider = new JsonRpcProvider('https://api-boba-mainnet.n.dwellir.com/YOUR_API_KEY');
// Using RPC
const hash = await provider.send('web3_sha3', ['0x68656c6c6f']);
console.log('Hash:', hash);
// Using ethers directly (faster)
const localHash = keccak256(toUtf8Bytes('hello'));
console.log('Local hash:', localHash);web3_clientVersion
Get client version on Boba Network. Essential for debugging.
Bridge Hub - Polkadot Interoperability
Production-ready guide for integrating with Bridge Hub on Polkadot. Learn how to consume Dwellir RPC endpoints, work with bridge pallets, and operate trustless connections to Kusama, Ethereum (Snowbridge), and other ecosystems.