Is there a basic gas fee setting method?

Can I specify the default value (gaspy) displayed when a transaction occurs in advance? Or is there a way to set a specific price? Regardless of the transaction amount, I’d like to set a fixed price.