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
| Name | Type |
|---|---|
input | EvmNativeErc20PriceInput | EvmNativeErc20Price |
Returns
fromJSON
▸ Static fromJSON(json): EvmNativeErc20Price
Parameters
| Name | Type |
|---|---|
json | EvmNativeErc20PriceJSON |
Returns
toJSON
▸ toJSON(): EvmNativeErc20PriceJSON
Returns
Properties
address
• Readonly address: EvmAddress
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