Gelato Network
Search
⌃K
📨

API

How to communicate directly with the Gelato Relay API
The Gelato Relay API endpoint URL is https://api.gelato.digital/
The Swagger UI is located at https://api.gelato.digital/api-docs

Oracle queries

get
/oracles
Get list of chains where the oracle is available
get
/oracles/{chainId}/estimate
Get the estimated fee in payment token with respect to the gas limit and priority
get
/oracles/{chainId}/paymentTokens
Get all the payment tokens on a chain
get
/oracles/{chainId}/conversionRate
Get the conversion rate from the native token to the requested token

Relay Endpoints

Informational

get
/relays/v2
Get list of chains where relay v2 is available

Sending Relay Requests:

Each relay request method possesses optional parameters such as the gasLimit , and retries. You can find more information on these on the Optional Parameters page.
/call-with-sync-fee/: for more information, please click here.
post
/relays/v2/call-with-sync-fee
Place a relay v2 callWithSyncFee request
/call-with-sync-fee-erc2771/: for more information, please click here.
post
/relays/v2/call-with-sync-fee-erc2771
Place a relay v2 callWithSyncFeeERC2771 request
/sponsored-call/: for more information, please click here.
post
/relays/v2/sponsored-call
Place a relay v2 sponsoredCall request
/sponsored-call-erc2771/: for more information, please click here.
post
/relays/v2/sponsored-call-erc2771
Place a relay v2 sponsoredCallERC2771 request

Task Tracking

get
/tasks/status/{taskId}
Get task status of the relay v2 task id