Skip to content
docs

MorphoMarketConfig

Defined in: protocol-lending-morpho-evm/src/market.ts:12

optional api?: string | null

Defined in: protocol-lending-morpho-evm/src/base.ts:25

Morpho API endpoint for APY / listing, or null to disable (default: api.morpho.org).

MorphoBaseConfig.api


optional chainId?: number

Defined in: protocol-lending-morpho-evm/src/base.ts:19

Chain (default: the account’s eip155:N, else 1). Must have a Morpho deployment.

MorphoBaseConfig.chainId


market: `0x${string}` | { collateralToken: string; irm: string; lltv: string | number | bigint; loanToken: string; oracle: string; }

Defined in: protocol-lending-morpho-evm/src/market.ts:14

The market: its 32-byte id, or the full MarketParams.


optional morpho?: string

Defined in: protocol-lending-morpho-evm/src/base.ts:21

Override the Morpho (Blue) singleton for a chain not in the presets.

MorphoBaseConfig.morpho


optional provider?: EvmProvider | EvmProvider[]

Defined in: protocol-lending-morpho-evm/src/base.ts:23

RPC url(s) / EIP-1193 provider(s) to read through. Defaults to the account’s own.

MorphoBaseConfig.provider


optional waitTimeoutMs?: number

Defined in: protocol-lending-morpho-evm/src/base.ts:27

How long an approval may take to mine before the main transaction (default 180 000 ms).

MorphoBaseConfig.waitTimeoutMs