endpoints: {
getRebateClaimableBalance(tradeAccountId, network) => string;
getReferredTrades(id, fromTimestamp, toTimestamp, network) => string;
getReferrerById(id, network) => string;
getReferrerClaimableEarnings(referrerId, network) => string;
getReferrerEarningsByPeriod(referrerId, network, startTimestamp, endTimestamp) => string;
getReferrerVolume(id, fromTimestamp, toTimestamp, network) => string;
getUserReferrers(address, network) => string;
} = ...
Type declaration
-
getRebateClaimableBalance:function
- getRebateClaimableBalance(tradeAccountId, network): string
-
Parameters
-
tradeAccountId: number
-
network: "arbitrum" | "arbitrum-sepolia"
Returns string
-
getReferredTrades:function
- getReferredTrades(id, fromTimestamp, toTimestamp, network): string
-
Parameters
-
id: number
-
fromTimestamp: number
-
toTimestamp: number
-
network: "arbitrum" | "arbitrum-sepolia"
Returns string
-
getReferrerById:function
- getReferrerById(id, network): string
-
Parameters
-
id: number
-
network: "arbitrum" | "arbitrum-sepolia"
Returns string
-
getReferrerClaimableEarnings:function
- getReferrerClaimableEarnings(referrerId, network): string
-
Parameters
-
referrerId: string
-
network: "arbitrum" | "arbitrum-sepolia"
Returns string
-
getReferrerEarningsByPeriod:function
- getReferrerEarningsByPeriod(referrerId, network, startTimestamp, endTimestamp): string
-
Parameters
-
referrerId: number
-
network: "arbitrum" | "arbitrum-sepolia"
-
startTimestamp: number
-
endTimestamp: number
Returns string
-
getReferrerVolume:function
- getReferrerVolume(id, fromTimestamp, toTimestamp, network): string
-
Parameters
-
id: number
-
fromTimestamp: number
-
toTimestamp: number
-
network: "arbitrum" | "arbitrum-sepolia"
Returns string
-
getUserReferrers:function
- getUserReferrers(address, network): string
-
Parameters
-
address: string
-
network: "arbitrum" | "arbitrum-sepolia"
Returns string