GET
/
oracles
/
{chainId}
/
estimate
curl --request GET \
  --url https://api.gelato.digital/oracles/{chainId}/estimate
{
  "estimatedFee": "<string>",
  "decimals": 123
}

Path Parameters

chainId
number
required

Id of the chain where the fee is estimated

Query Parameters

paymentToken
string
required

Payment Token

gasLimit
number
required

Gas limit

isHighPriority
boolean
required

Priority | if high: true, otherwise: false

gasLimitL1
number

Gas limit for Layer 1

feeMargin
number

Fee Margin between 0 and 1

Response

200
application/json

Successful Retrieval

The response is of type object.