YAD docs
Launch App
  • Introduction
    • Key features
    • Use cases
  • Getting started
    • Wallet creation
    • How do I get crypto to start trading?
    • Wallet connection
    • Token approval
    • Making a swap
    • How to check your transaction in blockchain
  • Swap modes
    • One-Track Swaps
    • Chain-Hopping Swaps
    • Diamond Mode
  • Architecture
    • Smart contracts
    • Proxy addresses
    • Request for Quote (RFQ)
  • Integration Guides
    • One-Track Swaps API
      • Getting started
      • Use cases
      • Endpoint list
      • Swagger documentation
    • Cross-Chain Swaps API
      • Getting started
      • Use cases
      • Endpoint list
      • Swagger documentation
    • Widget
      • API key management
      • Integration flow
  • Security
    • Smart contract audit
  • Contact us
    • Further support
  • Knowledge base
    • Glossary
    • Basics
      • What is gas price?
      • What is price impact?
      • What is slippage?
      • What is the fee structure?
Powered by GitBook
On this page
  1. Knowledge base
  2. Basics

What is gas price?

PreviousBasicsNextWhat is price impact?

Last updated 1 year ago

Once the transaction is initiated, you'll need to wait for its validation and inclusion to a block. The average time depends on the network congestion and the amount of gas you’ve paid.

One can also specify the gas price in the . This indicator determines how much you’re ready to pay for the gas. The more gas you pay, the faster the transaction will be executed. In some cases speeding up transactions might be useful as it will decrease the risk of slippage.

What happens if gas price is too low?

If the gas price is set too low, then miners may not be incentivized to include the transaction in the block since they can earn more by including transactions with higher gas prices. In this case, the transaction will remain in the mempool (i.e., a pool of unprocessed transactions waiting to be added to the blockchain) until a miner chooses to include it or until it expires.

If a transaction expires, it is reverted and the transaction amount is returned to the user, but the gas fee is burned.

To protect our users from having their transaction reverted due to a gas price that is set too low, we constantly monitor the gas price and limit the gas price that users can set for their transactions to prevent them from being reverted.

settings