The transaction to add sponsor fields to.
The address of the sponsor account (must match an existing Sponsorship object on the ledger).
Flags indicating what the sponsor is paying for (spfSponsorFee = 0x00000001, spfSponsorReserve = 0x00000002).
A new transaction object with Sponsor and SponsorFlags fields added.
Adds sponsor fields to a transaction for use with pre-funded sponsorships.
This function is used when a Sponsorship ledger object already exists on-ledger with sufficient balance to cover the transaction. In this case, no sponsor signature is required - only the Sponsor and SponsorFlags fields are needed.