Skip to main content
POST
/
execute
cURL
curl --request POST \
  --url https://api.relay.link/execute \
  --header 'Content-Type: application/json' \
  --data '
{
  "executionKind": "rawCalls",
  "data": {
    "chainId": 123,
    "to": "<string>",
    "data": "<string>",
    "value": "<string>",
    "authorizationList": [
      {
        "chainId": 123,
        "address": "<string>",
        "nonce": 123,
        "yParity": 123,
        "r": "<string>",
        "s": "<string>"
      }
    ]
  },
  "executionOptions": {
    "referrer": "<string>",
    "subsidizeFees": true
  }
}
'
{
  "message": "Transaction submitted",
  "requestId": "0xabc123..."
}

Body

application/json
executionKind
enum<string>
required

The kind of gasless transaction to execute. Currently supported: rawCalls

Available options:
rawCalls
data
object
required

Raw call parameters for the gasless transaction

executionOptions
object
required

Options related to gas fee sponsorship and app referrer

Response

Transaction successfully queued for execution

message
string
Example:

"Transaction submitted"

requestId
string
Example:

"0xabc123..."