Skip to main content

MapleFinanceTask

Fetch pricing information for Maple Finance assets.

Input: None

Returns: The requested price or value based on the specified method.

Example: Fetch the syrupUSDC fair price from Maple Finance

{
"mapleFinanceTask": {
"method": "METHOD_SYRUP_USDC_FAIR_PRICE"
}
}


Fields

NameTypeDescription
 method

The specific method to use for this task.

Enums

 Method

Specifies the method to use for fetching Maple Finance data.

ValueNameDescription
 0METHOD_SYRUP_USDC_FAIR_PRICE

Fetch the fair price of syrupUSDC in the Maple Finance ecosystem.