Skip to main content

IsApprovedForAll

Check whether an operator is approved to manage all NFTs of the given owner (ERC-721 isApprovedForAll(address,address)).

func IsApprovedForAll(
contractAddress,
owner,
operator string,
) (approved bool, err error)
func main() {
...
alchemy := gas.NewAlchemy(setting)
...
approved, err := alchemy.Nft.IsApprovedForAll(contractAddress, owner, operator)
}