- Preparing search index...
- The search index is not available
handle-sdk
Function fetchReferrerEarningsByPeriod
- fetchReferrerEarningsByPeriod(referrerId, network, startTimestamp?, endTimestamp?): Promise<{
from: number;
to: number;
totalCommission: BigNumber;
}>
-
Parameters
-
referrerId: number
-
network: "arbitrum" | "arbitrum-sepolia"
-
startTimestamp: number = ...
-
endTimestamp: number = ...
Returns Promise<{
from: number;
to: number;
totalCommission: BigNumber;
}>