The balances to transfer.
OptionaldurationThe number of unix milliseconds to approve starting from now.
The address to transfer from.
OptionalincrementThe number to increment the ownershipTimes by for each transfer.
OptionalincrementThe number to increment the tokenIDs by for each transfer.
OptionalmemoArbitrary memo for the transfer.
OptionalmerkleThe 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.
OptionalonlyWhether 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.
OptionalonlyWhether 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.
OptionalonlyWhether 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.
OptionalprecalculateIf specified, we will precalculate from this approval and override the balances. This can only be used when the specified approval has predeterminedBalances set.
OptionalprecalculationThe precalculation options for the transfer.
OptionalprioritizedThe prioritized approvals to use for the transfer. If specified, we will check these first.
The addresses to transfer to.
OptionaltoThe number of addresses to send the tokens to. This takes priority over toAddresses.length (used when you don't know exact addresses (i.e. you know number of codes)).
Deep copies the object and returns a new instance.
Converts the object to a different NumberType equivalent.
Optionaloptions: 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").
OptionalnormalizeNumberTypes: booleanInternal helper method to convert the number fields of the object to a different NumberType equivalent.
Checks if the object has number fields.
Converts the object to a JSON object with all primitive types.
Converts the object to a JSON string.
TransferWithIncrements is a type that is used to better handle batch transfers, potentially with incremented tokenIDs.
Remarks
For example, if you have 100 addresses and want to send 1 token to each address, you would set toAddressesLength to 100 and incrementIdsBy to 1. This would send token IDs 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.