Skip to main content

getTokenTagByEver

Function​

Get token tag by symbol.

The token tag consists of chainType,symbol,id, and is the unique identifier of the token required to pay the storage fee.

Example​

import { getTokenTagByEver } from 'arseeding-js'

const run = async () => {
const currency = '<payment token symbol, such as eth, usdc. >'
const tokenTags = await getTokenTagByEver(currency)
}

Parameters​

FieldDescription
currencypayment token symbol, such as eth, usdc.

Return Example Data​

[
'ethereum-usdc-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
// ...
]