Module: @moralisweb3/evm-utils

moralis-monorepo / @moralisweb3/evm-utils

Module: @moralisweb3/evm-utils

Table of contents

Type Aliases

DataType Classes

Interfaces

Type Aliases

Erc20Tokenish

Ƭ Erc20Tokenish: Erc20Input | Erc20Token

This can be any valid Erc20Input or Erc20Token.


Erc20Transferish

Ƭ Erc20Transferish: Erc20TransferInput | Erc20Transfer

Valid input for a new Erc20Transfer instance.
This can be an existing Erc20Transfer or a valid Erc20TransferInput object


Erc20ValueInputAmount

Ƭ Erc20ValueInputAmount: BigNumberish

BigNumberish type for the amount of tokens


Erc20ValueInputDecimals

Ƭ Erc20ValueInputDecimals: number | string

This is a number or a string that represents the decimals of tokens


Erc20Valueish

Ƭ Erc20Valueish: Erc20ValueInputAmount | Erc20Value

Valid input for a new Erc20Value instance.
This can be an existing Erc20Value or a valid Erc20ValueInputAmount object


Erc20ValueData

Ƭ Erc20ValueData: Object

This is the return type of the processed Erc20Value

Type declaration

NameType
amountBigNumber
decimalsnumber

Erc20Options

Ƭ Erc20Options: Object

The options for the Erc20Value class

Type declaration


EvmAddressInput

Ƭ EvmAddressInput: string

This can be any valid EVM address, formatted as lowercase or checksum.

Example

"0xfb6916095ca1df60bb79ce92ce3ea74c37c5d359"

Example

"0xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359"

EvmAddressish

Ƭ EvmAddressish: EvmAddress | EvmAddressInput

Valid input for a new EvmAddress instance.
This can be an existing EvmAddress or a valid address string as lowercase, or checksum format.


EvmBlockish

Ƭ EvmBlockish: EvmBlockInput | EvmBlock

Valid input for a new EvmBlock instance.
This can be an existing EvmBlock or a valid EvmBlockInput object


EvmChainish

Ƭ EvmChainish: EvmChain | InputChainId

This can be any valid EvmChain or InputChainId.


EvmEventish

Ƭ EvmEventish: EvmEventInput | EvmEvent

Valid input for a new EvmEvent instance.
This can be an existing EvmEvent or a valid EvmEventInput object


EvmNativeUnit

Ƭ EvmNativeUnit: "ether" | "finney" | "szabo" | "gwei" | "mwei" | "kwei" | "wei"

Type containing valid EVM native units


InputEvmNative

Ƭ InputEvmNative: BigNumberish

This is any valid BigNumberish value.


EvmNativeish

Ƭ EvmNativeish: InputEvmNative | EvmNative

Valid input for a new EvmNative instance.
This can be an existing EvmNative or a valid InputEvmNative type


EvmNftish

Ƭ EvmNftish: EvmNftInput | EvmNft

Valid input for a new EvmNft instance.
This can be an existing EvmNft or a valid EvmNftInput object


EvmNftCollectionish

Ƭ EvmNftCollectionish: EvmNftCollectionInput | EvmNftCollection

Valid input for a new EvmNftCollection instance.
This can be an existing EvmNftCollection or a valid EvmNftCollectionInput object


EvmNftMetadataish

Ƭ EvmNftMetadataish: EvmNftMetadataInput | EvmNftMetadata

This can be an exsisting EvmNftMetadata or a valid EvmNftMetadataInput.


EvmNftTradeish

Ƭ EvmNftTradeish: EvmNftTradeInput | EvmNftTrade

Valid input for a new EvmNftTrade instance.
This can be an existing EvmNftTrade or a valid EvmNftTradeInput object


EvmNftTransferish

Ƭ EvmNftTransferish: EvmNftTransferInput | EvmNftTransfer

Valid input for a new EvmNftTransfer instance.
This can be an existing EvmNftTransfer or a valid EvmNftTransferInput object


EvmTransactionish

Ƭ EvmTransactionish: EvmTransacionInput | EvmTransaction

Valid input for a new EvmTransaction instance.
This can be an existing EvmTransaction or a valid EvmTransacionInput object


EvmTransactionLogish

Ƭ EvmTransactionLogish: EvmTransactionLogInput | EvmTransactionLog

This can be any valid EvmTransactionLogInput or EvmTransactionLog.


Did this page help you?