Construct a new BaseAPI object.
An instance of the Premia SDK.
Readonly premiaThe Premia SDK instance.
Protected streamThe current index of quote streams. Used to cancel stale streams.
Returns a promise containing a populated transaction to claim rewards from option. Allows the user to use the SDK without providing a signer.
{bigint} strike price of the option.
{bigint} maturity of the option
Optional provider: ProviderPromise containing the contract transaction.
Returns a promise containing a populated transaction to claim rewards from option. Allows the user to use the SDK without providing a signer.
{bigint} strike price of the option.
{bigint} maturity of the option
Optional provider: ProviderThe encoded transaction data.
Generated using TypeDoc
Represents a class for handling pool operations related to the voidnode server and the pool contracts.