Register an IDPHANTOM account (self-serve)
phantom_registerOne-line onboarding: creates an IDPHANTOM account for the configured payer wallet, pays the $2 USDC registration with a locally-signed EIP-712 authorization and returns the api_key. Requires PHANTOM_PAYER_PRIVATE_KEY and PHANTOM_ROUTER_ADDRESS in the environment. The api_key is shown exactly ONCE in this response — store it as PHANTOM_API_KEY immediately. Without a payer key configured, pass payer_wallet to get manual instructions instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional display name for the account (default 'phantom-agent'). | |
| timeout_ms | No | Auto mode: max wait for on-chain confirmation (default 180000). | |
| payer_wallet | No | Manual mode (no PHANTOM_PAYER_PRIVATE_KEY): your EVM address; the tool returns the registration challenge plus step-by-step signing instructions. | |
| poll_interval_ms | No | Auto mode: poll interval for the registration status (default 3000). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| isError | No | True when the API call failed; text carries { error: { code, message } }. |