compute_contract_address
Predict the address of a contract before deployment using the deployer's address and nonce. Helps verify and plan smart contract deployments without waiting for on-chain confirmation.
Instructions
Compute the address where a contract will be deployed (CREATE opcode)
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": {
"deployer": "<deployer>",
"nonce": "<nonce>"
},
"name": "compute_contract_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | Yes | Transaction nonce of the deployer | |
| deployer | Yes | Address that will deploy the contract |