@xoxno/sdk-js
    Preparing search index...

    Type Alias ComputeAccountRiskInput

    type ComputeAccountRiskInput = {
        liveState?: StellarLendingLiveStateDto;
        positions: AccountPositionDto[];
        reserves: ReserveInput;
    }
    Index

    Properties

    /live-state: live indexes, prices and the min-collateral floor. Optional; positions then fall back to their own applied indexes and the reserve price.

    positions: AccountPositionDto[]

    Every row of one account (same accountId), as /accounts/{id}/positions returns them.

    reserves: ReserveInput

    context.reserveDetailsByKey (keyed ${spokeId}:${hubId}:${asset}) or a reserve array.