Corresponding amounts for each target, in the token's smallest unit.
Must be the same length as targets.
Token contract address for all transfers in this batch. The asset must be whitelisted on the bridge contract.
Source account (G-address) providing all the funds.
Ordered list of destination C-addresses.
Must be the same length as amounts.
Options for funding multiple C-addresses in one or more transactions via OnboardingBridgeSDK.batchFundCAddresses.
The source account is charged the sum of all
amountsin one transfer per transaction chunk. For any target that fails (blocked, not allowlisted), the corresponding amount is refunded tosource.When the number of targets exceeds BATCH_TX_LIMIT the SDK automatically splits the list into chunks of at most
BATCH_TX_LIMITand submits one transaction per chunk. The optionalonProgresscallback (passed as the third argument tobatchFundCAddresses) is called after each transaction with the running total of recipients processed.Example