cURL · Chain ID
curl -sS https://rpc.kriptoaman.com \
-H 'content-type: application/json' \
--data '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'Expected canonical Chain ID: 0x560c (22028).
Examples below use canonical public endpoints and do not require project secrets. Package APIs can change by version; pin and review your dependency versions before production use.
curl -sS https://rpc.kriptoaman.com \
-H 'content-type: application/json' \
--data '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'const response = await fetch( 'https://explorer.kriptoaman.com/api/v2/blocks' ); const data = await response.json(); console.log(data.items?.[0]);
import { JsonRpcProvider } from 'ethers';
const rpc = 'https://rpc.kriptoaman.com';
const provider = new JsonRpcProvider(rpc, {
name: 'kriptoaman',
chainId: 22028
});
console.log(await provider.getBlockNumber());import { createPublicClient, http } from 'viem';
const client = createPublicClient({
chain: {
id: 22028,
name: 'ZEVARYQ Mainnet',
nativeCurrency: { name: 'ZVQ', symbol: 'ZVQ', decimals: 18 },
rpcUrls: { default: { http: ['https://rpc.kriptoaman.com'] } }
},
transport: http()
});
console.log(await client.getBlockNumber());await window.ethereum.request({
method: 'wallet_addEthereumChain',
params: [{
chainId: '0x560c',
chainName: 'ZEVARYQ Mainnet',
nativeCurrency: { name: 'ZVQ', symbol: 'ZVQ', decimals: 18 },
rpcUrls: ['https://rpc.kriptoaman.com'],
blockExplorerUrls: ['https://explorer.kriptoaman.com']
}]
});const hash = '0x...';
const tx = await fetch(
`https://explorer.kriptoaman.com/api/v2/transactions/${hash}`
).then(r => r.json());
console.log(tx.status, tx.block);