mt_create_interaction_proof
Generate blockchain-anchored proof of agent interactions on Base L2 required for verifiable skill endorsements. Creates cryptographic evidence valid for 72 hours before credential issuance.
Instructions
Create an interaction proof before issuing a SkillEndorsementCredential.
Returns evidence_hash and base_tx_hash anchored on Base L2. Required before calling mt_endorse_agent. Valid for 72 hours.
Args: api_key: MolTrust API key of the agent creating the proof agent_a: DID of the first agent in the interaction agent_b: DID of the second agent in the interaction interaction_type: Type of interaction (e.g. skill_verification, purchase, prediction) outcome: Outcome of the interaction: success or failure
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | ||
| agent_a | Yes | ||
| agent_b | Yes | ||
| interaction_type | No | skill_verification | |
| outcome | No | success |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |