@cfxlabsinc/b2b-services
    Preparing search index...
    type EscrowTransferLegInput = {
        chains: ReadonlyMap<string, Chain>;
        customerRootOrganizationId:
            | NonNullable<TransactionLeg["organizationId"]>
            | null;
        escrow: Pick<
            SelectEscrowTransfer,
            | "externalId"
            | "status"
            | "tokenSymbol"
            | "amount"
            | "senderWallet"
            | "recipientPhone"
            | "recipientWallet",
        > & {
            createdAt: Temporal.Instant;
            customerId: TransactionLeg["customerId"];
            recipientLedgerAccountId: TransactionLeg["ledgerAccountId"];
            senderLedgerAccountId: TransactionLeg["ledgerAccountId"];
            updatedAt: Temporal.Instant;
        };
        recipientAccount: | {
            customerId: TransactionLeg["customerId"];
            identityId: IdentityId
            | null;
            primaryAddress: string | null;
        }
        | null;
        recipientPhoneIdentityId: IdentityId
        | null;
        senderIdentityId: IdentityId | null;
        statusUpdates: readonly Pick<
            SelectEscrowTransferStatusUpdate,
            "status"
            | "data",
        >[];
    }
    Index
    chains: ReadonlyMap<string, Chain>

    Each signature's on-chain transaction, its balances read at the account it moved: the recipient's for the release, the sender's for every other.

    customerRootOrganizationId: NonNullable<TransactionLeg["organizationId"]> | null

    The escrow customer's main organization, the sender entity's fallback.

    escrow: Pick<
        SelectEscrowTransfer,
        | "externalId"
        | "status"
        | "tokenSymbol"
        | "amount"
        | "senderWallet"
        | "recipientPhone"
        | "recipientWallet",
    > & {
        createdAt: Temporal.Instant;
        customerId: TransactionLeg["customerId"];
        recipientLedgerAccountId: TransactionLeg["ledgerAccountId"];
        senderLedgerAccountId: TransactionLeg["ledgerAccountId"];
        updatedAt: Temporal.Instant;
    }
    recipientAccount:
        | {
            customerId: TransactionLeg["customerId"];
            identityId: IdentityId
            | null;
            primaryAddress: string | null;
        }
        | null

    Set when escrow.recipientLedgerAccountId is: the credited account.

    Type Declaration

    • {
          customerId: TransactionLeg["customerId"];
          identityId: IdentityId | null;
          primaryAddress: string | null;
      }
      • customerId: TransactionLeg["customerId"]
      • identityId: IdentityId | null

        The identity whose external id is the escrow's recipient, if any.

      • primaryAddress: string | null
    • null
    recipientPhoneIdentityId: IdentityId | null

    The active identity of the escrow's customer with escrow.recipientPhone.

    senderIdentityId: IdentityId | null

    The identity whose external id is the escrow's sender, if any.

    statusUpdates: readonly Pick<
        SelectEscrowTransferStatusUpdate,
        "status"
        | "data",
    >[]

    The escrow's status history in (created_at, id) order.