Skip to main content

Introduction

The rent claimer is the recipient configured to receive reclaimed rent from a V2 Swig wallet. Set it when your application needs an explicit rent recipient, including a sponsor that funds account creation. The TypeScript SDK supports reading the recipient and preparing its one-time setter. The backend checks finalized chain state. Python and Rust do not currently expose this hosted operation.

SDK examples

Use the configured swig client and public address strings.

Get the rent claimer

Inspect the configured recipient before preparing its one-time setter.

Set the rent claimer

Prepare the recipient once. Sign with the requester and fee payer, submit, then wait for finality.

Confirm the recipient

After the setter reaches finality, fetch the recipient again.
Preparation changes no chain state. Concurrent preparations may succeed, but only the first valid setter can land. The setter is not automatically retried.

Input

The recipient can be set only once, including when a second request names the same recipient. Session, passkey, EVM, and ParticipantSet requesters are unsupported.

Output

Errors