@cfxlabsinc/b2b-services
    Preparing search index...

    Type Alias LedgerAccountTransferLegInput

    type LedgerAccountTransferLegInput = {
        failureReason: string | null;
        quote: Pick<
            typeof productQuoteTable.$inferSelect,
            | "sourceAmount"
            | "targetAmountAfterFees"
            | "totalFees"
            | "sourceCurrency"
            | "targetCurrency",
        >;
        source: Side;
        target: Side;
        transfer: Pick<
            SelectLedgerAccountTransfer,
            "externalId"
            | "status"
            | "receipt"
            | "data",
        > & {
            createdAt: Temporal.Instant;
            identityId: TransactionLeg["identityId"];
            organizationId: TransactionLeg["organizationId"];
            productQuoteId: TransactionLeg["productQuoteId"];
        };
        walletTransaction: | {
            blockTime: Temporal.Instant
            | null;
            chainKey: TransactionLeg["chainKey"];
            id: NonNullable<TransactionLeg["walletTransactionId"]>;
        }
        | null;
    }
    Index
    failureReason: string | null

    Reason on the latest status update matching the current status.

    quote: Pick<
        typeof productQuoteTable.$inferSelect,
        | "sourceAmount"
        | "targetAmountAfterFees"
        | "totalFees"
        | "sourceCurrency"
        | "targetCurrency",
    >
    source: Side
    target: Side
    transfer: Pick<
        SelectLedgerAccountTransfer,
        "externalId"
        | "status"
        | "receipt"
        | "data",
    > & {
        createdAt: Temporal.Instant;
        identityId: TransactionLeg["identityId"];
        organizationId: TransactionLeg["organizationId"];
        productQuoteId: TransactionLeg["productQuoteId"];
    }
    walletTransaction:
        | {
            blockTime: Temporal.Instant
            | null;
            chainKey: TransactionLeg["chainKey"];
            id: NonNullable<TransactionLeg["walletTransactionId"]>;
        }
        | null

    The wallet_transaction the receipt names, when the chain has indexed it.