spraay_audit_log
Record immutable audit trail entries for blockchain payments and compliance actions. Each entry costs $0.001 USDC and persists in Supabase.
Instructions
Record an immutable audit trail entry for payments, escrows, compliance actions, and other events. Data persists in Supabase. Costs $0.001 USDC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | Yes | Actor wallet address who performed the action | |
| action | Yes | Action type (e.g. 'payment.sent', 'escrow.created', 'kyc.completed', 'auth.session_created') | |
| txHash | No | Related on-chain transaction hash | |
| details | No | Additional details as key-value pairs | |
| resource | Yes | Resource identifier (e.g. 'batch_123', 'ESC-A1B2', 'INV-C3D4') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |