Skip to main content

Class: EvmDefiProtocolBalance

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

Class: EvmDefiProtocolBalance

@moralisweb3/common-evm-utils.EvmDefiProtocolBalance

Table of contents

Methods

Properties

Methods

create

Static create(input): EvmDefiProtocolBalance

Parameters

NameType
inputEvmDefiProtocolBalanceInput | EvmDefiProtocolBalance

Returns

EvmDefiProtocolBalance


fromJSON

Static fromJSON(json): EvmDefiProtocolBalance

Parameters

NameType
jsonEvmDefiProtocolBalanceJSON

Returns

EvmDefiProtocolBalance


toJSON

toJSON(): EvmDefiProtocolBalanceJSON

Returns

EvmDefiProtocolBalanceJSON

Properties

positions

Readonly positions: number

Description

The number of positions


totalUnclaimedUsdValue

Optional Readonly totalUnclaimedUsdValue: number

Description

The total unclaimed USD value of the protocol


totalUsdValue

Readonly totalUsdValue: number

Description

The total USD value of the protocol