BatchProgressCallback: ((completed: number, total: number, txHash?: string) => void)

Progress callback invoked by OnboardingBridgeSDK.batchFundCAddresses after each on-chain transaction completes (or fails).

Type declaration

    • (completed, total, txHash?): void
    • Parameters

      • completed: number

        Number of individual recipients processed so far across all submitted transactions (whether each transfer succeeded inside the contract or was refunded due to access-control).

      • total: number

        Total number of recipients in the original request.

      • OptionaltxHash: string

        Transaction hash of the just-submitted transaction. undefined when the transaction failed before submission.

      Returns void