supra-ts-sdk - v2.0.0
    Preparing search index...

    Interface SettlementStageEntryBeta

    One stage of one crossing, as the block that produced it stated it.

    interface SettlementStageEntry {
        stage: SettlementStage;
        block_height: number;
        transaction_hash: string;
        status?: number | null;
        amount: bigint;
        sender?: SettlementParty | null;
        recipient?: SettlementParty | null;
        refund?: string | null;
    }
    Index
    block_height: number

    The block this stage happened in.

    transaction_hash: string

    The transaction that produced it, as unprefixed hexadecimal.

    status?: number | null

    SupraMVM's outcome code where the stage has one; null or absent means the stage carries no outcome. 0 moved the value; 1 the escrow holds less than asked; 2 the recipient's primary SUPRA store is frozen; 4 the escrow is not initialized; 6 the recipient may not be paid out to; 7 the sender is not a usable SupraEVM address. 1, 2, 4 and 6 on an applied_on_move stage come with a refund.

    amount: bigint

    The value this stage concerns, in quants.

    sender?: SettlementParty | null
    recipient?: SettlementParty | null
    refund?: string | null

    The record a returned credit's value was returned in, for a credit that was refunded.