Last updated
Last updated
OmniTransfers make possible the execution of multiple ERC20 or native token transfers to multiple recipients in the same transaction. Accesible from and
ParamTransfer is the struct contained in the array passed as a parameter to conductTransfers
, it represents a single transfer.
We have conducted our first multisending transaction with OmniTransfers. 🎉
Calling the OmniTransfers contract to conduct a set of transfers is simple. Start by downloading the found in our github repo. Before getting into making a call, let's talk about the conductTransfers
payable function which takes ParamTransfer[]
as its only parameter, that array can be of any length.
Omnify charges a fee for each transfer it processes, so we need to make sure the total amount of msgValue includes the total value of native tokens being transferred in all the transfers (if any), and total value of fees charged from each transfer. You can find a list of all Omnify services' tiers and fees at .