predict_create2_address
Calculate the deterministic address for a CREATE2 deployment without deploying, using bytecode and salt.
Instructions
Calculate the deterministic address for a CREATE2 deployment without deploying
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"bytecode": "<bytecode>",
"salt": "<salt>"
},
"name": "predict_create2_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | No | Contract ABI (if constructor has args) | |
| salt | Yes | Salt for deterministic address | |
| network | No | Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet. | bsc |
| bytecode | Yes | Contract bytecode | |
| factoryAddress | No | CREATE2 factory address | |
| constructorArgs | No | Constructor arguments |