Audit user operation
account-abstraction_user-operation-auditCheck the structure of one ERC-4337 UserOperation before it is submitted to a bundler. Docs: https://www.brainiac.software/api/account-abstraction/user-operation-audit Keywords: before you sponsor or submit a user operation, validation status, validation_status, risk level, risk_level, field errors, field_errors, structural findings, structural_findings, gas configuration, gas_configuration, paymaster analysis, paymaster_analysis, decoded calls, decoded_calls.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "account-abstraction_user-operation-audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | No | abi, array. Optional. | |
| chainId | No | chainId, integer. Optional. | |
| expectedNonce | No | expectedNonce, string. Optional. | |
| senderAccount | No | senderAccount, object. Optional. | |
| userOperation | No | userOperation, object. Optional. | |
| expectedTargets | No | expectedTargets, array. Optional. | |
| entryPointVersion | No | entryPointVersion, string. Optional. | |
| expectedSelectors | No | expectedSelectors, array. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| risk_level | No | risk_level. String. | |
| limitations | No | limitations. Array. | |
| field_errors | No | field_errors. Array. | |
| decoded_calls | No | decoded_calls. Array. | |
| gas_configuration | No | gas_configuration. Array. | |
| validation_status | No | validation_status. String. | |
| paymaster_analysis | No | paymaster_analysis. Object. | |
| structural_findings | No | structural_findings. Array. |