Class: EvmNativeTransfer
moralis-monorepo / @moralisweb3/common-evm-utils / EvmNativeTransfer
Class: EvmNativeTransfer
@moralisweb3/common-evm-utils.EvmNativeTransfer
Table of contents
Methods
Properties
- direction
- fromAddress
- fromAddressEntity
- fromAddressEntityLogo
- fromAddressLabel
- internalTransaction
- toAddress
- toAddressEntity
- toAddressEntityLogo
- toAddressLabel
- tokenLogo
- tokenSymbol
- value
- valueFormatted
Methods
create
▸ Static
create(input
): EvmNativeTransfer
Parameters
Name | Type |
---|---|
input | EvmNativeTransferInput | EvmNativeTransfer |
Returns
fromJSON
▸ Static
fromJSON(json
): EvmNativeTransfer
Parameters
Name | Type |
---|---|
json | EvmNativeTransferJSON |
Returns
toJSON
▸ toJSON(): EvmNativeTransferJSON
Returns
Properties
direction
• Optional
Readonly
direction: string
Description
The direction of the transfer
fromAddress
• Readonly
fromAddress: EvmAddress
Description
The address that sent the NFT
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
internalTransaction
• Readonly
internalTransaction: boolean
Description
Indicates if the transaction is internal
toAddress
• Optional
Readonly
toAddress: EvmAddress
Description
The address that received the NFT
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
tokenLogo
• Readonly
tokenLogo: string
Description
The logo of the token transferred
tokenSymbol
• Readonly
tokenSymbol: string
Description
The symbol of the token transferred
value
• Readonly
value: string
Description
The value that was sent in the transaction (ETH/BNB/etc..)
valueFormatted
• Readonly
valueFormatted: string
Description
The value that was sent in the transaction (ETH/BNB/etc..) in decimal format