@cfxlabsinc/b2b-services
    Preparing search index...
    SwapAdminItem: Swap & {
        customerId: string;
        entityId: string;
        filledBy: string | null;
        fundingLedgerAccountId: string | null;
        legacyMintfx: { source: boolean; target: boolean };
        walletId: string | null;
    }

    A swap as CFX reads it: its owner, and the wallet that signs as its ledger account.

    Type Declaration

    • customerId: string
    • entityId: string
    • filledBy: string | null

      The admin user who filled the swap by hand; null on an automatic fill.

    • fundingLedgerAccountId: string | null

      The CFX ledger account the fill's MOVEUSD came from; null until filled.

    • legacyMintfx: { source: boolean; target: boolean }

      Whether each side's address is a LEGACY_MINTFX secret's, which a swap never moves.

    • walletId: string | null

      wallet-api's wallet for the swap's ledger account; null before ledger accounts funded swaps.