Skip to main content

Class: EvmErc20TokenOwner

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

Class: EvmErc20TokenOwner

@moralisweb3/common-evm-utils.EvmErc20TokenOwner

Table of contents

Methods

Properties

Methods

create

Static create(input): EvmErc20TokenOwner

Parameters

NameType
inputEvmErc20TokenOwnerInput | EvmErc20TokenOwner

Returns

EvmErc20TokenOwner


fromJSON

Static fromJSON(json): EvmErc20TokenOwner

Parameters

NameType
jsonEvmErc20TokenOwnerJSON

Returns

EvmErc20TokenOwner


toJSON

toJSON(): EvmErc20TokenOwnerJSON

Returns

EvmErc20TokenOwnerJSON

Properties

balance

Readonly balance: string

Description

The amount holding of the ERC20 token


balanceFormatted

Readonly balanceFormatted: string

Description

The amount holding of the ERC20 token in decimaal


isContract

Readonly isContract: boolean

Description

Indicates if the token address is for a contract or not


ownerAddress

Readonly ownerAddress: string

Description

The address of the erc20 token owner


ownerAddressLabel

Readonly ownerAddressLabel: string

Description

The label of the owner_address


percentageRelativeToTotalSupply

Readonly percentageRelativeToTotalSupply: number

Description

The percentage of total supply held by the owner


usdValue

Readonly usdValue: string

Description

The USD value of the balance