Skip to main content
POST
/
smartwallet
wallet_sendTransaction
curl --request POST \
  --url https://api.gelato.digital/smartwallet \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "wallet_sendTransaction",
  "params": [
    {
      "chainId": 123,
      "to": "<string>",
      "data": "<string>",
      "capabilities": {
        "payment": {
          "type": "sponsored"
        }
      },
      "authorizationList": [
        {
          "address": "<string>",
          "chainId": 123,
          "nonce": 123,
          "r": "<string>",
          "s": "<string>",
          "yParity": 123
        }
      ]
    }
  ]
}'
{
  "id": 1,
  "jsonrpc": "2.0",
  "result": {
    "id": "<string>"
  }
}

Query Parameters

apiKey
string

API key for authentication.

Body

application/json
id
number
default:1
jsonrpc
string
default:2.0
method
string
default:wallet_sendTransaction
params
SendPreparedCallsParams · object[]

Array containing a single SendPreparedCallsParams object

Required array length: 1 element

Response

Successful response

id
number
default:1
jsonrpc
string
default:2.0
result
object