RPC method

eth_getCode on Polygon

Supported on SwiftNodes

Everything below was measured on 2026-11-29 by calling eth_getCode on Polygon through the same endpoint customers use, and is re-measured weekly.

What eth_getCode does

Returns the deployed bytecode at an address, or 0x if there is none. It is how tools tell a contract from a wallet and check that a contract they depend on exists on a chain before calling it.

Standard contracts on Polygon

We called eth_getCode on the address each of these contracts has on every chain where it is deployed.

Multicall3 (0xcA11bd…CA11)deployed, 3,808 bytes
Permit2 (0x000000…8BA3)not measured
Deterministic deployment proxy (0x4e59b4…956C)not measured
Safe singleton factory (0x914d7F…43d7)not measured
ERC-4337 EntryPoint v0.7 (0x000000…a032)not measured
ERC-4337 EntryPoint v0.6 (0x5FF137…2789)deployed, 23,689 bytes
CreateX (0xba5Ed0…a5Ed)deployed, 11,838 bytes

What this means

All 7 are deployed, so Foundry deterministic deploys, viem multicall, Permit2 approvals and ERC-4337 smart accounts work on Polygon without extra setup.

Across the chains we measure

50 of 55 chains have all seven. Every one has Multicall3.

Example request

curl -s https://rpc.swiftnodes.io/rpc/polygon?key=YOUR_API_KEY \
  -X POST -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_getCode","params":["0xcA11bde05977b3631167028862bE2a173976CA11","latest"]}'
import { createPublicClient, http } from "viem";

const client = createPublicClient({
  transport: http("https://rpc.swiftnodes.io/rpc/polygon?key=YOUR_API_KEY"),
});

const code = await client.getCode({ address });
const isContract = code !== undefined && code !== "0x";

Other methods on Polygon

eth_getCode on other chains

Frequently asked questions

Does Polygon support eth_getCode?

Yes. eth_getCode answered on the SwiftNodes Polygon endpoint when our weekly probe called it through the customer path (2026-11-29).

Is Permit2 deployed on Polygon?

Not at 0x000000000022D473030F116dDEE9F6B43aC78BA3 (checked 2026-11-29).

Does Polygon support ERC-4337?

EntryPoint v0.7 is not deployed at its standard address on Polygon.

Polygon endpoints, live block height and WebSocket status are on the Polygon RPC page.

One key covers every chain we serve, and SwiftNodes has a free tier.