Version: 0.15.2

tokens/tokens

Index

Interfaces

Type aliases

Functions

Type aliases

Type

Ƭ Type: "ERC20"

Defined in src/tokens/tokens.ts:3

Functions

getToken

getToken(symbol: string): Token | undefined

Defined in src/tokens/tokens.ts:17

Returns information about an ERC20 token.

Parameters:

NameTypeDescription
symbolstringERC20 ticker symbol.

Returns: Token | undefined

ERC20 token object.