getCallsStatus
Retrieves the status and receipts of a batch call previously sent via sendCalls, using its UserOperation hash.
const { status, receipts } = await smartAccountClient.getCallsStatus({
id: userOpHash,
})
Returns
The request returns the call batch status (PENDING or CONFIRMED) and, if confirmed, the transaction receipts, including logs, block details, gas used, and the transaction hash.
{
"status": "PENDING"
}
or
{
"status": "CONFIRMED",
"receipts": [
{
"logs": [
{
"address": "0x1234567890abcdef1234567890abcdef12345678",
"data": "0x...",
"topics": ["0x...", "0x..."]
}
],
"status": "0x1",
"blockHash": "0xabcdef...",
"blockNumber": "0x10d4f",
"gasUsed": "0x5208",
"transactionHash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890"
}
]
}
Last updated