Developer Hub
🔮 For applications
SDK
Utils
getWaveLevels

Returns the Wave Levels data.

Usage

import { getWaveLevels } from '@azuro-org/sdk/utils'
 
const levels = await getWaveLevels()

Props

{
  waveId?: WaveId
  chainId?: ChainId
}
type WaveId = number | 'active'
 
type ChainId =  100 | 137 | 80002 | 88888 | 88882

Return Value

Array<{
  level: number
  name: WaveLevelName
  boost: string
  pointsNeeded: string
  comment: string
}> | null
enum WaveLevelName {
  Grey = 'Grey',
  Mist = 'Mist',
  Sky = 'Sky',
  Blue = 'Blue',
  Ultramarine = 'Ultramarine',
  Bright = 'Bright',
  Brilliant = 'Brilliant',
  Royal = 'Royal',
}