Skip to content

OutputType

OutputType = object

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

The account information from the payments contract.

availableFunds: bigint

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

Available funds for the account (funds - lockupCurrent + lockupRate * (currentEpoch - lockupLastSettledAt))


funds: bigint

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

Total funds deposited by the account


lockupCurrent: bigint

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

Current lockup amount (not yet settled)


lockupLastSettledAt: bigint

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

Epoch when lockup was last settled


lockupRate: bigint

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

Rate at which lockup increases per epoch