Skip to main content

Class: EvmNativeTransfer

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

Class: EvmNativeTransfer

@moralisweb3/common-evm-utils.EvmNativeTransfer

Table of contents

Methods

Properties

Methods

create

Static create(input): EvmNativeTransfer

Parameters

NameType
inputEvmNativeTransferInput | EvmNativeTransfer

Returns

EvmNativeTransfer


fromJSON

Static fromJSON(json): EvmNativeTransfer

Parameters

NameType
jsonEvmNativeTransferJSON

Returns

EvmNativeTransfer


toJSON

toJSON(): EvmNativeTransferJSON

Returns

EvmNativeTransferJSON

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


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


Optional Readonly toAddressEntityLogo: string

Description

The logo of the to address entity


toAddressLabel

Optional Readonly toAddressLabel: string

Description

The label of the to address


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