Class: EvmWalletHistoryErc20Transfer
moralis-monorepo / @moralisweb3/common-evm-utils / EvmWalletHistoryErc20Transfer
Class: EvmWalletHistoryErc20Transfer
@moralisweb3/common-evm-utils.EvmWalletHistoryErc20Transfer
Table of contents
Methods
Properties
- address
- blockTimestamp
- fromAddress
- fromAddressEntity
- fromAddressEntityLogo
- fromAddressLabel
- logIndex
- possibleSpam
- toAddress
- toAddressEntity
- toAddressEntityLogo
- toAddressLabel
- tokenDecimals
- tokenLogo
- tokenName
- tokenSymbol
- value
- valueFormatted
- verifiedContract
Methods
create
▸ Static create(input): EvmWalletHistoryErc20Transfer
Parameters
| Name | Type |
|---|---|
input | EvmWalletHistoryErc20TransferInput | EvmWalletHistoryErc20Transfer |
Returns
fromJSON
▸ Static fromJSON(json): EvmWalletHistoryErc20Transfer
Parameters
| Name | Type |
|---|---|
json | EvmWalletHistoryErc20TransferJSON |
Returns
toJSON
▸ toJSON(): EvmWalletHistoryErc20TransferJSON
Returns
EvmWalletHistoryErc20TransferJSON
Properties
address
• Readonly address: EvmAddress
Description
The address of the token
blockTimestamp
• Optional Readonly blockTimestamp: string
Description
The block timestamp
fromAddress
• Readonly fromAddress: EvmAddress
Description
The sender
fromAddressEntity
• Optional Readonly fromAddressEntity: string
Description
The from address entity
fromAddressEntityLogo
• Optional Readonly fromAddressEntityLogo: string
Description
The logo of the from address entity
fromAddressLabel
• Optional Readonly fromAddressLabel: string
Description
The label of the from address
logIndex
• Readonly logIndex: number
Description
The log index of the transfer within the block
possibleSpam
• Readonly possibleSpam: boolean
Description
Indicates if a contract is possibly a spam contract
toAddress
• Optional Readonly toAddress: EvmAddress
Description
The recipient
toAddressEntity
• Optional Readonly toAddressEntity: string
Description
The to address entity
toAddressEntityLogo
• Optional Readonly toAddressEntityLogo: string
Description
The logo of the to address entity
toAddressLabel
• Optional Readonly toAddressLabel: string
Description
The label of the to address
tokenDecimals
• Readonly tokenDecimals: number
tokenLogo
• Readonly tokenLogo: string
tokenName
• Readonly tokenName: string
tokenSymbol
• Readonly tokenSymbol: string
value
• Readonly value: string
Description
The value that was transfered (in wei)
valueFormatted
• Readonly valueFormatted: string
Description
The value that was transfered decimal format
verifiedContract
• Readonly verifiedContract: boolean
Description
Indicates if a contract is verified