Skip to main content
This is the canonical reference for LendingMarket — the on-chain struct that holds market-level settings. Field names below use snake_case as they appear in the JSON returned by download-lending-market-config (which mirrors the on-chain Rust struct directly). For guidance on which fields to set, see Market settings and the topic-specific guides linked below.

Identity and naming

Ownership

Feature flags

Withdrawal queue

See Withdrawal queue.

Borrow orders

See Borrow orders.

Obligation orders

See Obligation orders.

Fixed-term rollover

See Fixed rate reserves.

Liquidation tunables

See Liquidations and Auto-deleverage.

Elevation groups

See Elevation groups.

Position thresholds

Fees

Oracle policy

Runtime / read-only

These fields are program-managed and not user-editable:

Reading the live config

For market + every reserve in one call:

Reference