Skip to content

OutputType

OutputType = object

Defined in: packages/synapse-core/src/pay/operator-approvals.ts:33

The operator approval information from the payments contract.

isApproved: boolean

Defined in: packages/synapse-core/src/pay/operator-approvals.ts:35

Whether the operator is approved to act on behalf of the client


lockupAllowance: bigint

Defined in: packages/synapse-core/src/pay/operator-approvals.ts:39

Maximum lockup amount the operator can use (in token base units)


lockupUsage: bigint

Defined in: packages/synapse-core/src/pay/operator-approvals.ts:43

Current lockup being used by the operator (in token base units)


maxLockupPeriod: bigint

Defined in: packages/synapse-core/src/pay/operator-approvals.ts:45

Maximum lockup period in epochs the operator can set for payment rails


rateAllowance: bigint

Defined in: packages/synapse-core/src/pay/operator-approvals.ts:37

Maximum rate the operator can use per epoch (in token base units)


rateUsage: bigint

Defined in: packages/synapse-core/src/pay/operator-approvals.ts:41

Current rate being used by the operator (in token base units)