Skip to content
docs

MorphoBaseConfig

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

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).


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.


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.


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.


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).