Skip to content

token

ERC-20 token introduction

token represents fungible ERC-20 tokens.

All the read calls are prepended with get and all the other calls are write calls that requires the user to sign the transaction.

app.ts
import { mintclub } from 'mint.club-v2-sdk'
 
const symbolOrAddress: string = 'CHICKEN'

mintclub.network('base').token(symbolOrAddress.
approve
bondContractApproved
buy
buyWithZap
create
createAirdrop
createMintClubMetadata
exists
getAllowance
getBalanceOf
getBondAddress
getBuyEstimation
getDecimals
getDetail
getMaxSupply
getMintClubMetadata
getName
getPriceForNextMint
getReserveToken
getReserveTokenAddress
getSellEstimation
getSteps
getSymbol
getTokenAddress
getTokenBond
getTotalSupply
getUsdRate
sell
sellWithZap
transfer
updateMintClubMetadata
.