
Ethereum Virtual Machine · Acts onchain
Grants or revokes an operator's approval over every token in an ERC-721 or ERC-1155 collection. The collection's setApprovalForAll is called for the operator with the chosen flag. Approval is all-or-nothing per collection and stays until revoked. Reach for it before a step that has a marketplace or bridge move NFTs on the socket's behalf, and set it back to false at the end of the same transaction so no standing approval remains.