Skip to main content
POST
/
rpc
/
Relayer
/
AddGasSponsor
cURL
curl --request POST \
  --url https://amoy-relayer.sequence.app/rpc/Relayer/AddGasSponsor \
  --header 'Content-Type: application/json' \
  --header 'X-Access-Key: <api-key>' \
  --data '{
  "projectId": 123,
  "address": "<string>",
  "name": "<string>",
  "active": true
}'
{
  "status": true,
  "gasSponsor": {
    "id": 123,
    "gasTankId": 123,
    "projectId": 123,
    "chainId": 123,
    "address": "<string>",
    "name": "<string>",
    "active": true,
    "updatedAt": "<string>",
    "createdAt": "<string>",
    "deletedAt": "<string>"
  }
}

Authorizations

X-Access-Key
string
header
required

Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI

Body

application/json
projectId
number
address
string
name
string
active
boolean

Response

OK

status
boolean
gasSponsor
object
I