Skip to main content

Class: EvmWalletDefiSummary

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

Class: EvmWalletDefiSummary

@moralisweb3/common-evm-utils.EvmWalletDefiSummary

Table of contents

Methods

Properties

Methods

create

Static create(input): EvmWalletDefiSummary

Parameters

NameType
inputEvmWalletDefiSummaryInput | EvmWalletDefiSummary

Returns

EvmWalletDefiSummary


fromJSON

Static fromJSON(json): EvmWalletDefiSummary

Parameters

NameType
jsonEvmWalletDefiSummaryJSON

Returns

EvmWalletDefiSummary


toJSON

toJSON(): EvmWalletDefiSummaryJSON

Returns

EvmWalletDefiSummaryJSON

Properties

activeProtocols

Readonly activeProtocols: number

Description

The number of active protocols


protocols

Readonly protocols: EvmDefiProtocolBalance[]


totalPositions

Readonly totalPositions: number

Description

The number of total positions


totalUnclaimedUsdValue

Optional Readonly totalUnclaimedUsdValue: number

Description

The total unclaimed USD value of the wallet


totalUsdValue

Readonly totalUsdValue: number

Description

The total USD value of the wallet