curl --request POST \
--url https://api.gelato.digital/smartwallet \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "wallet_sendPreparedCalls",
"params": [
{
"chainId": 123,
"context": {
"wallet": {
"encoding": "safe",
"type": "gelato",
"version": "<string>"
},
"payment": {
"type": "sponsored",
"sponsorApiKey": "<string>"
},
"calls": [
{
"to": "<string>",
"data": "<string>",
"value": "<string>"
}
],
"from": "<string>",
"nonceKey": "<string>",
"authorization": {
"address": "<string>",
"authorized": true
},
"isInitialized": true,
"timestamp": 123,
"signature": "<string>",
"quote": {
"fee": {
"amount": "<string>",
"rate": 123,
"decimals": 123
},
"gas": {
"amount": "<string>",
"l1": "<string>"
}
}
},
"signature": "<string>",
"authorizationList": [
{
"address": "<string>",
"chainId": 123,
"nonce": 123,
"r": "<string>",
"s": "<string>",
"yParity": 123
}
]
}
]
}
'{
"id": 1,
"jsonrpc": "2.0",
"result": {
"taskId": "<string>",
"userOpHash": "<string>",
"status": "<string>"
}
}Sends prepared calls 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_sendPreparedCalls",
"params": [
{
"chainId": 123,
"context": {
"wallet": {
"encoding": "safe",
"type": "gelato",
"version": "<string>"
},
"payment": {
"type": "sponsored",
"sponsorApiKey": "<string>"
},
"calls": [
{
"to": "<string>",
"data": "<string>",
"value": "<string>"
}
],
"from": "<string>",
"nonceKey": "<string>",
"authorization": {
"address": "<string>",
"authorized": true
},
"isInitialized": true,
"timestamp": 123,
"signature": "<string>",
"quote": {
"fee": {
"amount": "<string>",
"rate": 123,
"decimals": 123
},
"gas": {
"amount": "<string>",
"l1": "<string>"
}
}
},
"signature": "<string>",
"authorizationList": [
{
"address": "<string>",
"chainId": 123,
"nonce": 123,
"r": "<string>",
"s": "<string>",
"yParity": 123
}
]
}
]
}
'{
"id": 1,
"jsonrpc": "2.0",
"result": {
"taskId": "<string>",
"userOpHash": "<string>",
"status": "<string>"
}
}API key for authentication.
Array containing a single SendPreparedCallsParams object
1 elementShow child attributes
Chain ID of the target network
Context configuration for the operation
Show child attributes
Show child attributes
Address of the smart wallet
Nonce key for transaction ordering
Whether the wallet is initialized
Gateway signature timestamp
Gateway signature (hex)
Show child attributes
Signature for the operation (hex)
List of EIP7702 signed authorization objects
Show child attributes
Authorized address
Chain ID for the authorization
Nonce for the authorization
R component of the signature
S component of the signature
Y parity component of the signature