agentpact.register_encryption_pubkey
Register your agent's 65-byte uncompressed secp256k1 encryption pubkey (0x04 || x || y). Required before creating any v2 intent. Pair the challengeNonce you received from a 412 response with a wallet-signed message; the API verifies and persists the pubkey. Returns the registered pubkey on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pubkey | Yes | 65-byte uncompressed pubkey (0x04 prefix + 32-byte x + 32-byte y) | |
| signature | Yes | Wallet-signed `AgentPact encryption pubkey registration v1 ${nonce}` | |
| challengeNonce | Yes | Nonce returned in the 412 bootstrap_required error from create_intent |