Class: EvmErc20TokenOwner
moralis-monorepo / @moralisweb3/common-evm-utils / EvmErc20TokenOwner
Class: EvmErc20TokenOwner
@moralisweb3/common-evm-utils.EvmErc20TokenOwner
Table of contents
Methods
Properties
- balance
- balanceFormatted
- isContract
- ownerAddress
- ownerAddressLabel
- percentageRelativeToTotalSupply
- usdValue
Methods
create
▸ Static
create(input
): EvmErc20TokenOwner
Parameters
Name | Type |
---|---|
input | EvmErc20TokenOwnerInput | EvmErc20TokenOwner |
Returns
fromJSON
▸ Static
fromJSON(json
): EvmErc20TokenOwner
Parameters
Name | Type |
---|---|
json | EvmErc20TokenOwnerJSON |
Returns
toJSON
▸ toJSON(): EvmErc20TokenOwnerJSON
Returns
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