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.
Encodes the claimRebate parameters into a transaction that can be broadcasted to the provider network.
array of addresses of tokens to claim.
Optional provider: ProviderThe custom provider to use for this call.
A promise that resolves to a contract transaction for the claimRebate operation.
Encodes the claimRebate parameters into a transaction that can be broadcasted to the provider network.
array of addresses of tokens to claim.
Optional provider: ProviderThe custom provider to use for this call.
The encoded transaction data.
Returns a promise containing the array of tokens and amounts for referral fees.
{string} The address of the referrer.
Optional provider: ProviderThe custom provider to use for this call.
Promise the array of tokens and amounts for referral fees.
Generated using TypeDoc
Represents a class for handling operations related to making analytics queries from the voidnode server.