GET
/
tasks
/
status
/
{taskId}
/
debug
curl --request GET \
  --url https://api.gelato.digital/tasks/status/{taskId}/debug
{
  "data": {
    "to": "<string>",
    "from": "<string>",
    "calldata": "<string>",
    "blockNumber": 123,
    "gasLimit": 123,
    "chainId": 123,
    "taskId": "<string>"
  },
  "debugger": {
    "tenderly": "<string>"
  }
}

How to use it with Tenderly

If you’d like to use the debug endpoint with Tenderly, you can make use of the debug endpoint by adding the following parameters:

  • tenderlyUsername
  • tenderlyProjectName

The request URL should look like this:

https://api.gelato.digital/tasks/status/{yourRelayTaskId}/debug?tenderlyUsername={yourUserName}&tenderlyProjectName={yourProjectName}

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.

Path Parameters

taskId
string
required

The ID of the task to retrieve debug information for

Query Parameters

tenderlyUsername
string

Username for Tenderly account

tenderlyProjectName
string

Project name on Tenderly

Response

200
application/json

Successful response with debug information

The response is of type object.