How to set gas fee in bsc?

I am a new blockchain developer. I dont know how to set gas fee settings in bsc.
Can you share me documentacion.

Hi, welcome! :wave:

I think you can set gas fee in the wallet when you send the transaction. So what wallet do you use?

1 Like

You got me wrong, How can I do this in a smart contract as code?

I am not familiar with the BSC-Chain, maybe you can ask at their forum.

I think you can have a look at this:

There is a global variable tx.gasprice, maybe this is what you want.