Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.hyperauth.dev/llms.txt

Use this file to discover all available pages before exploring further.

Calls getAddress on the hyperAuthFactory contract to predict the counterfactual smart account address for a given P-256 public key and salt.

Query parameters

ParameterTypeRequiredDescription
pubKeyXstringYesP-256 X coordinate as uint256 hex string
pubKeyYstringYesP-256 Y coordinate as uint256 hex string
saltstringNouint256 decimal or hex string (default: 0)

Response (200)

{ "address": "0x..." }

Errors

CodeerrorCondition
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