The balances to transfer.
The address to transfer from.
Optional
incrementThe number to increment the badgeIDs by for each transfer.
Optional
incrementThe number to increment the ownershipTimes by for each transfer.
Optional
memoArbitrary memo for the transfer.
Optional
merkleThe merkle proofs that satisfy the mkerkle challenges in the approvals. If the transfer deducts from multiple approvals, we check all the merkle proofs and assert at least one is valid for every challenge.
Optional
onlyWhether or not to only check the prioritized approvals. If false, we will check all approvals with any prioritized first.
This only applies to the "collection" level approvals specified.
Optional
onlyWhether or not to only check the prioritized approvals. If false, we will check all approvals with any prioritized first.
This only applies to the "incoming" level approvals specified.
Optional
onlyWhether or not to only check the prioritized approvals. If false, we will check all approvals with any prioritized first.
This only applies to the "outgoing" level approvals specified.
Optional
precalculateIf specified, we will precalculate from this approval and override the balances. This can only be used when the specified approval has predeterminedBalances set.
Optional
prioritizedThe prioritized approvals to use for the transfer. If specified, we will check these first.
The addresses to transfer to.
Optional
toThe number of addresses to send the badges to. This takes priority over toAddresses.length (used when you don't know exact addresses (i.e. you know number of codes)).
Optional
zkThe zk proof solutions for approvals.
Deep copies the object and returns a new instance.
Converts the object to a different NumberType equivalent.
Optional
options: ConvertOptionsCompares this object's fields to another object's fields for equality. Equality is determined by comparing the JSON representations of the objects.
If normalizeNumberTypes
is true, then all number types will be compared as strings (i.e. "1n" === "1" === 1). Else, they will be compared as their native types (i.e. 1n !== 1 !== "1").
Optional
normalizeNumberTypes: boolean
TransferWithIncrements is a type that is used to better handle batch transfers, potentially with incremented badgeIDs.
Remarks
For example, if you have 100 addresses and want to send 1 badge to each address, you would set toAddressesLength to 100 and incrementIdsBy to 1. This would send badgeIDs 1 to the first address, 2 to the second, and so on.
See
This type is compatible with the getBalancesAfterTransfers function and the getTransfersFromTransfersWithIncrements function.