EVM
Predict CREATE2 address API
Compute the address a contract will be deployed to via CREATE2, from the deployer, salt, and init-code hash. Answers 'what address will this CREATE2 deploy to', 'predict the deterministic contract address'.
Price$0.01per request
MethodPOST
Route/v1/evm/create2-address
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
evmcreate2addressdeploydeterministiccounterfactual
API URL
Integration docshttps://x402.hexl.dev/v1/evm/create2-addressExample request
{
"deployer": "0x0000000000000000000000000000000000000000",
"salt": "0x0000000000000000000000000000000000000000000000000000000000000000",
"initCodeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"
}Example response
{
"address": "0x4D1A2e2bB4F88F0250f26Ffff098B0b30B26Bf38"
}Input schema
{
"type": "object",
"required": [
"deployer",
"salt",
"initCodeHash"
],
"properties": {
"deployer": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"salt": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
},
"initCodeHash": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
}
}
}Output schema
{
"type": "object",
"required": [
"address"
],
"properties": {
"address": {
"type": "string"
}
}
}