{"uid":"cap_VwJx2PcTlx2N5ZVH6uAl2","slug":"animica-chain-identity-verifier-2b7b36c6","name":"Animica Chain Identity Verifier","description":"Verify you are on real Animica mainnet, and which chain id to sign with. Animica answers that question with TWO numbers: the native chain is id 1, while the EVM compatibility facade reports 149 (eth_chainId 0x95, net_version \"149\"). A wallet porting Ethereum tooling signs with the wrong one. Returns both, the disagreement named, plus genesis hash, fork id, policy hash and the built-in consensus checkpoints a light client pins against. All read live. No model.","url":"https://animica.dev/x402/chain/identity","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"expect_chain_id":{"type":"integer","description":"the chain id you BELIEVE you are talking to. When given, the response carries an explicit matches_native / matches_evm_facade verdict instead of leaving you to compare two numbers yourself — which is the comparison people get wrong."},"expect_genesis_hash":{"type":"string","description":"the genesis hash you have pinned (0x… 32 bytes). Compared byte-for-byte; a mismatch is reported as a hard failure, since it means this is not the chain you think it is."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001801","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001801/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001801","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001801","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lM9FT2ZyxiYy2k0LVfcaJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001801","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the native and EVM-facade chain IDs for the Animica L1, plus genesis hash, fork ID, policy hash, and consensus checkpoints, with optional explicit match verdicts against caller-supplied expectations.","exampleAgentPrompt":"I'm about to sign a transaction on Animica mainnet — can you verify whether chain ID 149 is the right one to use, and also confirm the genesis hash is 0xabc123… so I know I'm on the real network?","exampleUseCases":[{"title":"Wallet chain ID configuration check","prompt":"My Ethereum wallet is showing chain ID 149 for Animica — can you confirm whether that's the correct one to sign with, or if I should be using the native chain ID instead?"},{"title":"Light client genesis pin verification","prompt":"I'm setting up a light client for Animica and need to pin against the real genesis hash. Can you check if the genesis hash I have, 0xdeadbeef1234567890abcdef1234567890abcdef1234567890abcdef12345678, matches the live chain and give me the consensus checkpoints?"},{"title":"Pre-broadcast chain identity sanity check","prompt":"Before I broadcast this transaction, verify that I'm actually talking to Animica mainnet with chain ID 1 and tell me both chain IDs plus the fork ID so I can rule out a mismatch."}],"resultDescription":"Returns both the native Animica chain ID (1) and the EVM compatibility facade chain ID (149 / 0x95), the named disagreement between them, the live genesis hash, fork ID, policy hash, and built-in consensus checkpoints for light client pinning. When an expected chain ID or genesis hash is supplied, also returns explicit matches_native and matches_evm_facade verdict fields.","failureModes":["Genesis hash mismatch reported as hard failure if expect_genesis_hash does not match live chain","Network unreachable or node down returns service error","Malformed expect_genesis_hash (not 0x-prefixed 32-byte hex) causes validation error","Payment failure (HTTP 402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need authoritative, live chain identity data for the Animica L1 — especially when porting Ethereum tooling that conflates the native chain ID (1) with the EVM facade ID (149), or when setting up a light client that must pin against real genesis and checkpoint hashes. Prefer this over static documentation when you need a live, attested answer with explicit match verdicts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:40:24.885Z","isFirstParty":false}