attest_decision
Verify and anchor AI agent decisions on Base and Solana with cryptographic signatures, producing auditable on-chain proof URLs for autonomous approvals or model attestation.
Instructions
Verify a wallet signature over (input_hash, output_hash, decision) with domain separation, then dual-chain anchor the resulting Merkle root on Base and Solana mainnet. Returns the verified signer plus on-chain proof URLs. Use when an AI agent's decision needs a cryptographic, auditable receipt — autonomous trade approvals, AI-assisted contract decisions, model-output attestation for liability records. $0.010 USDC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_hash | Yes | 64-char hex SHA-256 of the agent's input. | |
| output_hash | Yes | 64-char hex SHA-256 of the agent's output / decision payload. | |
| decision | Yes | Free-form short label, e.g. "APPROVED", "REJECTED", "CONFIDENCE=0.93" (max 64 chars). | |
| scheme | Yes | Signature scheme. | |
| signature | Yes | 0x-prefixed hex (eip191) or base58 (ed25519). | |
| signer_pubkey | No | Required for ed25519 (Solana base58 pubkey). |