Skip to content

getList

Returns a list of tokens from the specified network.

Usage

example.ts
import { mintclub } from 'mint.club-v2-sdk'
 
const tokens = await mintclub.network('ethereum').bond.getList({
  start: 0,
  end: 1000,
})

Return Value

Promise<readonly '0x${string}'[]>

Returns an array of token addresses from the specified network.

Parameters

start (optional)

  • Type: number
  • Default: 0

Start index.

end (optional)

  • Type: number
  • Default: 1000

End index.