LeaseAccount constructor
initialization params.
Estimate the time remaining on a given lease
number milliseconds left in lease (estimate)
Adds fund to a LeaseAccount. Note that funds can always be withdrawn by the withdraw authority if one was set on lease initialization.
Load and parse LeaseAccount data based on the program IDL.
LeaseAccount data parsed in accordance with the Switchboard IDL.
Get the size of a LeaseAccount on chain.
size.
Withdraw funds from a LeaseAccount.
Create and initialize the LeaseAccount.
Switchboard program representation holding connection and IDL.
newly generated LeaseAccount.
Loads a LeaseAccount from the expected PDA seed format.
LeaseAccount and PDA bump.
Generated using TypeDoc
A Switchboard account representing a lease for managing funds for oracle payouts for fulfilling feed updates.