Skip to main content
GET
/
v1
/
gas
/
prices
/
{chainId}
Get gas price for the specified chainId
curl --request GET \
  --url https://li.quest/v1/gas/prices/{chainId}
{
  "standard": 123,
  "fast": 123,
  "fastest": 123,
  "lastUpdated": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.li.fi/llms.txt

Use this file to discover all available pages before exploring further.

Headers

x-lifi-api-key
string

Authentication header, register in the LI.FI Partner Portal (https://portal.li.fi/ ) to get your API Key.

Path Parameters

chainId
string
required

ChaindId from which gas prices should be shown

Response

Gas Prices for the supplied chainID

standard
number
fast
number
fastest
number
lastUpdated
number