getAddress on the hyperAuthFactory contract to predict the counterfactual smart account address for a given P-256 public key and salt.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Predicts the counterfactual ERC-4337 smart account address for a given P-256 passkey public key and CREATE2 salt without deploying the contract.
getAddress on the hyperAuthFactory contract to predict the counterfactual smart account address for a given P-256 public key and salt.
| Parameter | Type | Required | Description |
|---|---|---|---|
pubKeyX | string | Yes | P-256 X coordinate as uint256 hex string |
pubKeyY | string | Yes | P-256 Y coordinate as uint256 hex string |
salt | string | No | uint256 decimal or hex string (default: 0) |
{ "address": "0x..." }
| Code | error | Condition |
|---|---|---|
400 | "Missing query parameters: pubKeyX, pubKeyY" | Parameters absent |
400 | "Invalid pubKeyX or pubKeyY: expected uint256 hex string" | Decode failure |
400 | "Invalid salt: expected uint256 decimal or hex string" | Salt parse failure |
502 | "rpc_error" | Upstream eth_call failure |
Was this page helpful?