Properties of a CurveFinanceTask.

interface ICurveFinanceTask {
    chain?: null | CHAIN_ETHEREUM;
    outDecimals?: null | number;
    poolAddress?: null | string;
    provider?: null | string;
}

Implemented by

Properties

chain?: null | CHAIN_ETHEREUM

Required. Specifies which blockchain to use when reading information from Curve Finance.

outDecimals?: null | number

The number of decimal places to include in the returned price value.

poolAddress?: null | string

The on-chain address of the Curve Finance pool to fetch pricing data from.

provider?: null | string

Optional. The RPC endpoint to use for blockchain requests. If not specified, a default RPC will be used which may have rate limits.