Class: EvmGetDefiPositionsByProtocol
moralis-monorepo / @moralisweb3/common-evm-utils / EvmGetDefiPositionsByProtocol
Class: EvmGetDefiPositionsByProtocol
@moralisweb3/common-evm-utils.EvmGetDefiPositionsByProtocol
Table of contents
Methods
Properties
Methods
create
▸ Static
create(input
): EvmGetDefiPositionsByProtocol
Parameters
Name | Type |
---|---|
input | EvmGetDefiPositionsByProtocolInput | EvmGetDefiPositionsByProtocol |
Returns
fromJSON
▸ Static
fromJSON(json
): EvmGetDefiPositionsByProtocol
Parameters
Name | Type |
---|---|
json | EvmGetDefiPositionsByProtocolJSON |
Returns
toJSON
▸ toJSON(): EvmGetDefiPositionsByProtocolJSON
Returns
EvmGetDefiPositionsByProtocolJSON
Properties
positions
• Optional
Readonly
positions: EvmDefiProtocolPosition
[]
protocolId
• Optional
Readonly
protocolId: string
Description
The id of the protocol
protocolLogo
• Optional
Readonly
protocolLogo: string
Description
The logo of the protocol
protocolName
• Optional
Readonly
protocolName: string
Description
The name of the protocol
protocolUrl
• Optional
Readonly
protocolUrl: string
Description
The url of the protocol
totalUnclaimedUsdValue
• Optional
Readonly
totalUnclaimedUsdValue: number
totalUsdValue
• Optional
Readonly
totalUsdValue: number