📨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

Relay Endpoints

Informational

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.

/call-with-sync-fee-erc2771/: for more information, please click here.

/sponsored-call/: for more information, please click here.

/sponsored-call-erc2771/: for more information, please click here.

Task Tracking

Debug Endpoint

How to use it with Tenderly

In the response, you will get a tenderly link, click on it

Everything will already be pre-set, all you need to do is click on "Simulate" and check what might have been the point of failure:

What to do if the calldata is too big?

In this case you would have to manually copy and paste the to, from, callData, blockNumber etc into the Tenderly UI or Foundry

Last updated