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

    Interface AppliedInboundSettlementBeta

    One credit from the EVM to Move that a Move settlement transaction resolved.

    Preview: wraps an API added in supra_node_v12.0.0, which may change until that release reaches Testnet.

    interface AppliedInboundSettlement {
        settlement_id: string;
        status: number;
        refund?: string | null;
    }
    Index
    settlement_id: string

    The settlement this credit settles, 0x-prefixed.

    status: number

    The outcome code: 0 paid; 1 the escrow holds less than the credit; 2 the recipient's primary SUPRA store is frozen; 4 the escrow is not initialized; 6 the recipient may not receive settlements; 7 the sender is not a usable EVM address. 1, 2, 4 and 6 come with a refund.

    refund?: string | null

    The settlement in which the value was returned to the EVM sender, 0x-prefixed.