@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) • 387 B
JavaScript
import { setSourceAccount } from '../util/operations.js';
import types from '../generated/curr_generated.js';
function inflation(opts = {}) {
const opAttributes = {
sourceAccount: null,
body: types.OperationBody.inflation()
};
setSourceAccount(opAttributes, opts);
return new types.Operation(opAttributes);
}
export { inflation };
//# sourceMappingURL=inflation.js.map