Skip to main content

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

NameType
inputEvmDefiPositionSummaryResponseInput | EvmDefiPositionSummaryResponse

Returns

EvmDefiPositionSummaryResponse


fromJSON

Static fromJSON(json): EvmDefiPositionSummaryResponse

Parameters

NameType
jsonEvmDefiPositionSummaryResponseJSON

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


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