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
Name | Type |
---|---|
input | EvmWalletDefiSummaryInput | EvmWalletDefiSummary |
Returns
fromJSON
▸ Static
fromJSON(json
): EvmWalletDefiSummary
Parameters
Name | Type |
---|---|
json | EvmWalletDefiSummaryJSON |
Returns
toJSON
▸ toJSON(): EvmWalletDefiSummaryJSON
Returns
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