Optional
approvalThe criteria to be met. These represent the restrictions that must be obeyed such as the total amount approved, max num transfers, merkle challenges, must own badges, etc.
The ID of the approval. Must not be a duplicate of another approval ID in the same timeline.
The badge IDs to be transferred.
Optional
customArbitrary custom data of the approval
The list ID for the user(s) who is sending the badges. The ID is either registered on-chain for reusability or follows the reserved ID system.
The list ID for the user(s) who initiate the transfer. The ID is either registered on-chain for reusability or follows the reserved ID system.
The ownership times of the badges being transferred.
The list ID for the user(s) who is receiving the badges. The ID is either registered on-chain for reusability or follows the reserved ID system.
The times allowed for the transfer transaction.
Optional
uriThe URI of the approval.
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: 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.
Static
fromOptional
options: Partial<JsonReadOptions>Static
fromOptional
options: Partial<JsonReadOptions>Static
fromStatic
validate
CollectionApproval represents a collection's approved transfer.