


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.
Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.
Borrow on Base · 7 plugs
Stake on Base · 9 plugs
Provide liquidity on Base · 6 plugs
More on Ethereum Virtual Machine · 11