I a little confused about this, i've read that pure / view functions don't cost gas / require a transaction when called, other people say that it does cost, but you're not the one pating for it.
So what is it?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
View functions only use gas when they are called by non-view functions inside of the contract.
View functions don't consume gas because you are only making a call to your Node, so you're not asking every node on the chain to perform an action.
You can say that is free but you are limited by your node provider, if you want to make a lot of requests (usually more than 300k a month) you might need to pay your node provider. Or even if you have your own node you are paying for electricity and so on.