Skip to main content
POST
/
sdk
/
{environmentId}
/
evm
/
sponsorTransaction
Sponsor an EVM transaction via gasless relay
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/evm/sponsorTransaction \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "calls": [
    {
      "data": "<string>",
      "target": "<string>",
      "value": "<string>"
    }
  ],
  "chainId": 123,
  "deadline": "<string>",
  "nonce": "<string>",
  "signature": "<string>",
  "relayer": "<string>",
  "walletAddress": "<string>"
}
'
{
  "requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Documentation Index

Fetch the complete documentation index at: https://www.dynamic.xyz/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

Body

application/json

Request to sponsor an EVM transaction via gasless relay

calls
object[]
required

Array of calls to execute

chainId
integer
required

Target chain ID

deadline
string
required

Unix timestamp deadline for the intent

nonce
string
required

Nonce for the intent signature

signature
string
required

Hex-encoded EIP-712 intent signature

Pattern: ^0x[a-fA-F0-9]*$
relayer
string
required

Relayer contract address (signed as relayer in EIP-712 intent)

Pattern: ^0x[a-fA-F0-9]{40}$
walletAddress
string
required

User wallet address

Pattern: ^0x[a-fA-F0-9]{40}$
authorization
object

Optional EIP-7702 authorization for first-time delegation

Response

Relay request created

Response containing the relay request ID

requestId
string<uuid>
required

Unique request ID for tracking the relayed transaction