Skip to main content

Class: EvmErc20Metadata

moralis-monorepo / @moralisweb3/common-evm-utils / EvmErc20Metadata

Class: EvmErc20Metadata

@moralisweb3/common-evm-utils.EvmErc20Metadata

Table of contents

Methods

Properties

Methods

create

Static create(input): EvmErc20Metadata

Parameters

NameType
inputEvmErc20MetadataInput | EvmErc20Metadata

Returns

EvmErc20Metadata


fromJSON

Static fromJSON(json): EvmErc20Metadata

Parameters

NameType
jsonEvmErc20MetadataJSON

Returns

EvmErc20Metadata


toJSON

toJSON(): EvmErc20MetadataJSON

Returns

EvmErc20MetadataJSON

Properties

address

Readonly address: EvmAddress

Description

The address of the token contract


addressLabel

Optional Readonly addressLabel: string

Description

The label of the address


blockNumber

Optional Readonly blockNumber: BigNumber


categories

Optional Readonly categories: string[]

Description

Categories of the token


createdAt

Readonly createdAt: string

Description

The timestamp of when the erc20 token was created


decimals

Readonly decimals: number

Description

The number of decimals on the token


fullyDilutedValuation

Optional Readonly fullyDilutedValuation: string

Description

Fully Diluted Valuation (FDV), this represents the token's Current Price x Total Supply


Optional Readonly links: object

Description

Social links of the token


Optional Readonly logo: string

Description

The logo of the token


logoHash

Optional Readonly logoHash: string

Description

The logo hash


name

Readonly name: string

Description

The name of the token contract


possibleSpam

Readonly possibleSpam: boolean

Description

Indicates if a contract is possibly a spam contract


symbol

Readonly symbol: string

Description

The symbol of the NFT contract


thumbnail

Optional Readonly thumbnail: string

Description

The thumbnail of the logo


totalSupply

Optional Readonly totalSupply: string

Description

Total tokens created minus any that have been burned


totalSupplyFormatted

Optional Readonly totalSupplyFormatted: string

Description

Total tokens created minus any that have been burned (decimal formatted)


validated

Optional Readonly validated: number


verifiedContract

Optional Readonly verifiedContract: boolean

Description

Indicates if a contract is verified