OutputType
OutputType =
object
Defined in: packages/synapse-core/src/pay/accounts.ts:33
The account information from the payments contract.
Properties
Section titled “Properties”availableFunds
Section titled “availableFunds”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
Section titled “lockupCurrent”lockupCurrent:
bigint
Defined in: packages/synapse-core/src/pay/accounts.ts:37
Current lockup amount (not yet settled)
lockupLastSettledAt
Section titled “lockupLastSettledAt”lockupLastSettledAt:
bigint
Defined in: packages/synapse-core/src/pay/accounts.ts:41
Epoch when lockup was last settled
lockupRate
Section titled “lockupRate”lockupRate:
bigint
Defined in: packages/synapse-core/src/pay/accounts.ts:39
Rate at which lockup increases per epoch