Skip to main content

Class: EvmNativeErc20Price

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

Class: EvmNativeErc20Price

@moralisweb3/common-evm-utils.EvmNativeErc20Price

Table of contents

Methods

Properties

Methods

create

Static create(input): EvmNativeErc20Price

Parameters

NameType
inputEvmNativeErc20PriceInput | EvmNativeErc20Price

Returns

EvmNativeErc20Price


fromJSON

Static fromJSON(json): EvmNativeErc20Price

Parameters

NameType
jsonEvmNativeErc20PriceJSON

Returns

EvmNativeErc20Price


toJSON

toJSON(): EvmNativeErc20PriceJSON

Returns

EvmNativeErc20PriceJSON

Properties

address

Readonly address: string

Description

The address of the native token


decimals

Readonly decimals: number

Description

The number of decimals on the token


name

Readonly name: string

Description

The name of the token


symbol

Readonly symbol: string

Description

The symbol of the token


value

Readonly value: string

Description

The native price of the token