How would I query using their API? Below doesn't seem to want to work, I'm querying for canMint() where it takes in address[] and returns a Boolean.
All I'm getting is the execution reverted
error. Any pointers?
How would I query using their API? Below doesn't seem to want to work, I'm querying for canMint() where it takes in address[] and returns a Boolean.
All I'm getting is the execution reverted
error. Any pointers?
You cannot query the method of the smart contract actually. you should query the events/logs of the smart contracts
If you are trying to query the canMint() function executions. you need to query the events that were emitted while executing the canMint() method.