SpendingLimitParams

Parameters for spending limit policy.

Restricts how much can be transferred within a given time period.

Construct instances using SmartAccountBuilders.createSpendingLimitParams, which validates inputs and converts the spending limit from a decimal XLM string to stroops.

Properties

Link copied to clipboard

Number of ledgers in the period (>= 1). Approximately 5 seconds per ledger on the Stellar network.

Link copied to clipboard
val spendingLimit: BigInteger

Maximum amount allowed in the period (in stroops as BigInteger, >= 1)