Sponsor a Transaction with a Pre-funded Pool
This guide shows the pre-funded sponsorship flow: a sponsor sets XRP aside up front, and a sponsee draws on it for fees and reserves. In the example, a sponsor brings in a new user who holds no XRP, then sets up a pool the user can spend without further approval.
- Section
- Tutorials
When to use it
Use this flow when sponsees must be able to transact without waiting on the sponsor. If the sponsor needs to review each transaction and wants no pool, co-signing is the other route. The feature requires the Sponsor amendment, and you need xrpl.js or xrpl-py.
The steps in short
Fund the sponsor and make a key pair for the sponsee. Only the sponsor needs XRP. A Payment transaction with the tfSponsorCreatedAccount flag creates the sponsee's account and makes the sponsor responsible for its reserve. The sponsor then sends a SponsorshipSet transaction to create the pool, which is a Sponsorship entry. The sponsee sends a DepositPreauth transaction without a signature from the sponsor, and its fee and the new entry's reserve come from the pool.
The pool's settings
FeeAmountDelta is the drops available for fees, and one drop is the smallest unit of XRP. MaxFee caps what the pool pays for any single transaction. RemainingOwnerCountDelta is the number of owner reserves the sponsor covers. The two delta fields add to the pool's current values, and negative values subtract. A subtraction that would leave both at zero fails with tecNO_PERMISSION. Set MaxFee with enough headroom for changes in the network's required transaction cost.
Good to know
The sponsor pays the FeeAmountDelta up front and must also meet the reserve for the new Sponsorship entry, or the transaction fails with tecUNFUNDED. Each pool serves one sponsee. A sponsor can also require its signature on each use with the tfSponsorshipSetRequireSignForFee and tfSponsorshipSetRequireSignForReserve flags.
Source: xrpl.org. Read 6 December 2026.
Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made