When we execute a function on a smart contract, the transaction will be verified by all miners in the entire network before being written to the blockchain. I want to know no matter how complicated the smart contract function called by this transaction is or the function needs to pay some fees, do miners have to execute this function for verification?
For example, the function on this smart contract needs to pay token to call the payment interface on chainlink.