rent_domain
Rent a subdomain, paying per-transaction with USDC on Base (x402). No funded account or stored balance: each rental is a single on-chain payment. Requires agent authentication. Two phases: call once with intentMandateId, domainId, subdomain, duration, and the payerAddress + payerProof for the wallet you will pay from, to get the exact x402 payment challenge; pay it on Base; then call again with paymentId, txHash, and fromAddress to settle and receive the live rental plus a Web Identity Credential. Request an x402 payment challenge to rent a subdomain. Durations PT1H, PT4H, P1D, P7D, P30D. Returns the exact USDC amount and recipient on Base.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txHash | No | (phase 2) The on-chain transaction hash of your USDC payment on Base. | |
| domainId | Yes | The unique ID of the domain to rent on | |
| duration | Yes | ISO 8601 duration: PT1H (1 hour), PT4H (4 hours), P1D (1 day), P7D (1 week), P30D (30 days) | |
| paymentId | No | (phase 2) The paymentId returned by the phase-1 challenge. | |
| subdomain | Yes | The subdomain label to rent (e.g., 'myproject' for myproject.example.com) | |
| payerProof | No | (phase 1) EIP-191 personal_sign signature proving control of payerAddress. Always required with payerAddress. | |
| fromAddress | No | (phase 2) The wallet you paid from (must match the challenge's bound payer). | |
| payerAddress | No | (phase 1) The 0x wallet you will pay from. Required on every challenge; a wallet registered on your Sigil does not substitute for it. | |
| intentMandateId | Yes | The ID of the active Intent Mandate authorizing this purchase | |
| payerProofIssuedAt | No | (phase 1, optional) ISO 8601 timestamp of the payerProof, within 5 minutes of the request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | ||
| reason | No | ||
| rental | No | ||
| status | No | ||
| payment | No | ||
| rentalId | No | ||
| settleUrl | No | ||
| credential | No | ||
| provisioning | No | ||
| tierProgression | No | Current enforced trust tier and when it is next evaluated. Present only once an identity exists. | |
| sigilEligibility | No | Identity standing: lifecycle status, canary screen result, and any hard gates. | |
| identityConfidence | No | How firmly this identity is bound: unbound, bound to a key, or backed by a verified sponsor. |