E

EVM & Solana Utility Tools · EVM Create2

by EVM & Solana Utility Tools

POSTBaseArbitrumPolygon

$0.005

per call · USD Coin on Base

CREATE2 deterministic contract address calculator — derive the EIP-1014 EVM deployment address, preimage, hashes, and EIP-55 checksum offline without RPC.

Endpoint

POST https://chain-tools.use.x402atlas.com/evm/create2

2

Calls / 30d

1

Unique payers / 30d

Sep 1

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://chain-tools.use.x402atlas.com/evm/create2", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "deployer": "0x0000000000000000000000000000000000000000",
    "init_code": "0xdeadbeef",
    "salt": "0x0000000000000000000000000000000000000000000000000000000000000000"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://chain-tools.use.x402atlas.com/evm/create2" \
  -H "Content-Type: application/json" \
  -d '{"deployer":"0x0000000000000000000000000000000000000000","init_code":"0xdeadbeef","salt":"0x0000000000000000000000000000000000000000000000000000000000000000"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "address": "0x70f2b2914a2a4b783faefb75f459a580616fcb5e",
  "algorithm_version": "eip1014-create2-v1",
  "checksum_address": "0x70f2b2914A2a4b783FaEFb75f459A580616Fcb5e",
  "deployer": "0x0000000000000000000000000000000000000000",
  "init_code": "0xdeadbeef",
  "init_code_hash": "0xd4fd4e189132273036449fc9e11198c739161b4c0116a9a2dccdfa1c492006f1",
  "operation": "create2",
  "preimage": "0xff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4fd4e189132273036449fc9e11198c739161b4c0116a9a2dccdfa1c492006f1",
  "preimage_hash": "0x7c389b77881a0016face428070f2b2914a2a4b783faefb75f459a580616fcb5e",
  "salt": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "warnings": []
}

Payment details

Pay to0x8c128f1ee62bb5e47867cfbae2ad89be325df1b2
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Arbitrum, Polygon
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from EVM & Solana Utility Tools & similar services