Skip to main content
GET
marginfi bank totals and rates
Template lending.marginfi.bank@1 · Lending · totals and utilization · reads Solana

Authorizations

Authorization
string
header
required

Session token from POST /v1/session (sign in with the subscription owner's or a delegate's wallet). Each value uses one round of the plan's quota.

Query Parameters

chain
enum<string>
required

CAIP-2 id or alias (Solana chains)

Available options:
solana,
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp,
solana-devnet,
solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1
finality
string
default:final

"final" or "fast", or a raw mode: "finalized", "safe", "confirmations:" (EVM, Starknet), "confirmed" (Solana)

bank
string
required

the Bank account

field
enum<string>
default:utilization

supplied (deposits) and borrowed in whole tokens; utilization = borrowed / supplied; supplyRate and borrowRate: yearly rates

Available options:
supplied,
borrowed,
utilization,
supplyRate,
borrowRate
signaturesRequired
integer
default:3

Signatures the round needs (default 3). Tolerance-mode sources need at least 3; the gateway bounds it by the protocol minimum, your plan and the live nodes.

Required range: 1 <= x <= 255

Response

The threshold-signed value (data.attestation) and its rendering (data.value); Molpha-Source-Id names the derived source.

data
object
status
string
Example:

"completed"