Skip to main content

refresh_obligation

Function refresh_obligation 

Source
pub fn refresh_obligation(
    lending_market: &Pubkey,
    obligation: &ObligationInfo,
) -> Instruction
Expand description

Build a single refresh_obligation instruction with all required remaining accounts (deposit reserves, borrow reserves, referrer token states) derived from the obligation info.

Returns: refresh_obligation