Skip to main content

getSwiseUsdPrice

Description:

Current price of SWISE token to USD.

Returns:

type Output = string

Example:

await sdk.utils.getSwiseUsdPrice()

getStakewiseStats

Description:

TVL statistics, number of users, rewards earned

Returns:

type Output = {
usersCount: number
totalAssets: string
totalEarnedAssets: string
}

Example:

await sdk.utils.getStakewiseStats()