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>"
}
}
Sends a transaction for smart wallet execution with signature and context.
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>"
}
}
API key for authentication.
Successful response
The response is of type object
.