@stellar/stellar-sdk
Version:
A library for working with the Stellar network, including communication with the Horizon and Soroban RPC servers.
15 lines (12 loc) • 462 B
JavaScript
import { setSourceAccount } from '../util/operations.js';
import types from '../generated/curr_generated.js';
function endSponsoringFutureReserves(opts = {}) {
const opAttributes = {
sourceAccount: null,
body: types.OperationBody.endSponsoringFutureReserves()
};
setSourceAccount(opAttributes, opts);
return new types.Operation(opAttributes);
}
export { endSponsoringFutureReserves };
//# sourceMappingURL=end_sponsoring_future_reserves.js.map