Skip to content

Batching

scx1332 edited this page Jul 25, 2023 · 2 revisions

General idea

Token transfers are analyzed and grouped into batches to one tx.

Explanation

It you want transfer on the same chain an with the same token to the same address twice, then we can add this values and create one tx that is resolving both payments. Additionally we can group together transfers with the same chain and same token to different addresses if we are using multi payment contract (which is optional). Grouping together token transfers into one transaction yield benefits as faster payment processing and lower gas payments (per token transfer).

Behaviour

Once all previous transactions were processed then in the batching step library scans all token transfers and creates list of txs to the queue. This step has minimum interval set in configuration.

f

Clone this wiki locally