Class: EvmDefiPositionSummaryResponse
moralis-monorepo / @moralisweb3/common-evm-utils / EvmDefiPositionSummaryResponse
Class: EvmDefiPositionSummaryResponse
@moralisweb3/common-evm-utils.EvmDefiPositionSummaryResponse
Table of contents
Methods
Properties
Methods
create
▸ Static
create(input
): EvmDefiPositionSummaryResponse
Parameters
Name | Type |
---|---|
input | EvmDefiPositionSummaryResponseInput | EvmDefiPositionSummaryResponse |
Returns
EvmDefiPositionSummaryResponse
fromJSON
▸ Static
fromJSON(json
): EvmDefiPositionSummaryResponse
Parameters
Name | Type |
---|---|
json | EvmDefiPositionSummaryResponseJSON |
Returns
EvmDefiPositionSummaryResponse
toJSON
▸ toJSON(): EvmDefiPositionSummaryResponseJSON
Returns
EvmDefiPositionSummaryResponseJSON
Properties
position
• Optional
Readonly
position: EvmDefiProtocolPosition
Description
The position of the protocol
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