Transfer a Reserve Sponsorship
This guide shows how to use the SponsorshipTransfer transaction to create, reassign or end a reserve sponsorship on a ledger entry that already exists. With a reserve sponsorship, a sponsor carries the reserve for an entry in place of the sponsee, the account that would otherwise cover it.
- Section
- Tutorials
What you will do
You fund three accounts: Sponsor A, Sponsor B and the sponsee. The sponsee creates an entry without a sponsor, here a DepositPreauth entry. Then you create a sponsorship on it, move it to the other sponsor and end it. The same transaction can also transfer sponsorship of an account's own reserve.
What you need
You need a basic understanding of the XRP Ledger and of sponsored fees and reserves. You also need a client library: xrpl.js for JavaScript or xrpl-py for Python. The feature requires the Sponsor amendment.
The steps in short
To create, send SponsorshipTransfer with the tfSponsorshipCreate flag, the entry's ID and Sponsor A's address in the Sponsor field. Sponsor A signs too, so fill in the Fee before signing: a fee added or changed later no longer matches the signature. To reassign, use tfSponsorshipReassign with Sponsor B's address. Sponsor B signs to accept the reserve, Sponsor A does not need to, and only the sponsee can reassign. To end, use tfSponsorshipEnd. Either side can end it, and a sponsor who does so must include the Sponsee field.
Good to know
Ending a sponsorship on an entry does not check whether the sponsee can cover the reserve it takes back. The sponsee can end up below its required reserve, and then it cannot create new ledger entries until it funds the difference. If the sponsored entry is deleted, you do not need to end the sponsorship first.
Sponsoring an account
Leave out ObjectID and the transaction applies to the account in the Account field. The sponsor's SponsorSignature is then required when creating or reassigning. Ending fails with tecINSUFFICIENT_RESERVE if the account cannot hold its own account reserve afterwards. An entry type that does not support sponsorship fails with tecNO_PERMISSION.
Source: xrpl.org. Read 6 December 2026.
Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made