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


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


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