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


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


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


validated

Optional Readonly validated: number


verifiedContract

Optional Readonly verifiedContract: boolean

Description

Indicates if a contract is verified