helius-labs / helius-sdk

148 stars 42 forks source link

feat(txs): Add a Priority Fee Cap #145

Open 0xIchigo opened 2 months ago

0xIchigo commented 2 months ago

This PR aims to add a priority fee cap for smart transactions. The idea is that the user should be able to cap priority fees at a specific number and use that instead of what is strictly returned by the Priority Fee API. This PR also reworks the send options for smart transactions to make it more intuitive