OnchainDiligence

Pay-per-call compliance via x402: wallet sanctions, OFAC name, UK + US company verification.

使うべきか

品質と安全性

A
説明の品質
99%
スキーマの完全性
84%
命名の品質
92%
ポイズニングのリスク
80%
権限の一致
100%
プロトコルへの準拠
100%

検出事項(2)

  • HIGHTool poisoning patterns detected
  • INFOTool description contains placeholder or incomplete textget_receipt 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~6,011トークン数(ツール定義)
~2.5 KB一般的なレスポンスサイズ
注意への影響は大きい(128k コンテキストの 4.70%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "compliance": {
      "url": "https://mcp.onchaindiligence.com/mcp"
    }
  }
}

リモートエンドポイント

https://mcp.onchaindiligence.com/mcpstreamable-http

できること

ツール一覧

ツール(21)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢screen_wallet(address)

Sanctions-screen an EVM wallet address against the Chainalysis on-chain oracle (OFAC SDN, EU, UN designations). Reflects current status, including delistings -- a once-designated address may now screen clean. Returns a sanctioned / not-sanctioned boolean (no case-level detail). Call before sending USDC or other funds to an address, for AML compliance and counterparty due diligence.

入力スキーマ

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "EVM wallet address (0x + 40 hex) to sanctions-screen"
    }
  },
  "required": [
    "address"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢screen_name(name, threshold)

OFAC name screening: fuzzy-match a person or company name against the official US Treasury OFAC Specially Designated Nationals (SDN) list (primary names + strong aliases). Returns scored candidate matches with the matched name, SDN type, and program. SCOPE: this is a screening aid for AML / KYC / sanctions compliance — a match is a candidate to investigate with secondary identifiers (DOB, nationality, ID), NOT a determination. Weak AKAs are not screened, per OFAC guidance.

入力スキーマ

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Person or company name to screen against the OFAC SDN list"
    },
    "threshold": {
      "type": "number",
      "minimum": 0.5,
      "maximum": 1,
      "description": "Optional match confidence cutoff 0.5–1.0 (default 0.85). Lower = more candidates, more false positives."
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢verify_uk_company(companyNumber)

UK company KYB lookup via the official Companies House register. Given a UK registration number, returns legal status (active/dissolved), company type, incorporation date, registered office, and people with significant control (PSC / beneficial owners). Call to confirm a UK business is real, active, and who controls it, for KYB onboarding and counterparty due diligence. Authoritative UK government data.

入力スキーマ

{
  "type": "object",
  "properties": {
    "companyNumber": {
      "type": "string",
      "description": "UK Companies House registration number to verify, e.g. 00000006"
    }
  },
  "required": [
    "companyNumber"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢verify_us_company(query)

US public company verification via SEC EDGAR. Given a ticker, CIK, or company name, returns entity name, CIK, industry (SIC), state of incorporation, exchanges/tickers, address, and latest SEC filing. Ambiguous names return candidates, never a silent selection. Covers SEC-registered PUBLIC companies and funds only -- not private US companies. Call for KYB and counterparty due diligence on listed US entities.

入力スキーマ

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "US public company ticker, SEC CIK, or company name — e.g. \"AAPL\", \"0000320193\", or \"Apple Inc\""
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢diligence(wallet, company)

Combined counterparty due diligence in one call: runs sanctions screening on a crypto wallet (Chainalysis oracle — OFAC SDN, EU, UN) AND a UK Companies House KYB lookup (status, type, PSC / beneficial owners) in parallel. Built for compliance agents vetting a counterparty that has both an on-chain wallet and a UK company. Returns both independent results, plus an explicit disclaimer that no verified link between the wallet and the company is established by the data.

入力スキーマ

{
  "type": "object",
  "properties": {
    "wallet": {
      "type": "string",
      "description": "EVM wallet address (0x + 40 hex) to sanctions-screen"
    },
    "company": {
      "type": "string",
      "description": "UK Companies House registration number to verify"
    }
  },
  "required": [
    "wallet",
    "company"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢preflight_payment(action, policy, options, references)

Call BEFORE an agent authorizes an autonomous payment. Evaluates it against your policy (max amount, allowed networks/assets, expected recipient, allowed origins) and returns a signed PREFLIGHT receipt -- ALLOW, REQUIRE_APPROVAL, or BLOCK, with reasons -- independently verifiable by anyone. Policy evaluation only: OCD never holds, moves, or authorizes funds. The wallet/x402 client separately authorizes execution after; ALLOW does not guarantee it will proceed.

入力スキーマ

{
  "type": "object",
  "properties": {
    "action": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "const": "PAYMENT",
          "description": "The only supported action kind in v1."
        },
        "resource": {
          "type": [
            "string",
            "null"
          ],
          "description": "URL of the resource/service the payment is for, if any."
        },
        "network": {
          "type": "string",
          "description": "CAIP-2 network identifier, e.g. \"eip155:8453\" for Base mainnet."
        },
        "asset": {
          "type": "string",
          "description": "Canonical ERC-20 token contract address (0x…) — never a ticker like \"USDC\"."
        },
        "amount": {
          "type": "string",
          "description": "Canonical decimal string amount, e.g. \"1.00\". Never a float."
        },
        "sender": {
          "type": [
            "string",
            "null"
          ],
          "description": "Sender wallet address, if known."
        },
        "recipient": {
          "type": "string",
          "description": "Recipient wallet address (0x…)."
        }
      },
      "required": [
        "kind",
        "network",
        "asset",
        "amount",
        "recipient"
      ],
      "additionalProperties": false
    },
    "policy": {
      "type": "object",
      "properties": {
        "max_amount": {
          "type": [
            "string",
            "null"
          ],
          "description": "Maximum allowed decimal amount, or null for no configured cap."
        },
        "allowed_networks": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ],
          "description": "Allowed CAIP-2 networks, or null for no restriction."
        },
        "allowed_assets": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ],
          "description": "Allowed token contract addresses, or null for no restriction."
        },
        "expected_recipient": {
          "type": [
            "string",
            "null"
          ],
          "description": "Exact recipient address the caller expects, or null."
        },
        "allowed_resource_origins": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ],
          "description": "Allowed https origins for action.resource, or null."
        },
        "acknowledge_unconstrained": {
          "type": "boolean",
          "description": "Required (true) if every constraint above is null/omitted, confirming that was intentional and not an accident."
        },
        "expected_payer": {
          "type": [
            "string",
            "null"
          ],
          "description": "Frozen commitment to the wallet expected to authorize the eventual on-chain payment (D2.4 binding strength) — decision-neutral, or null."
        }
      },
      "additionalProperties": false
    },
    "options": {
      "type": "object",
      "properties": {
        "screen_recipient_sanctions": {
          "type": "boolean",
          "description": "If true, screen the recipient wallet against the Chainalysis sanctions oracle."
        }
      },
      "additionalProperties": false
    },
    "references": {
      "type": "object",
      "properties": {
        "mandate_digest": {
          "type": [
            "string",
            "null"
          ],
          "description": "Optional sha256:… digest of a private mandate this proposal was derived from."
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "action",
    "policy"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢inspect_payment(action, policy)

FREE. Pure deterministic inspection of a proposed payment against structured policy (amount/network/asset/recipient/resource) — no external evidence, no sanctions screening, no cryptographic signing, no receipt. Returns the same ALLOW / REQUIRE_APPROVAL / BLOCK decision semantics as POST /x402/preflight-payment for the deterministic checks alone, so a caller can sanity-check a proposal before deciding whether the paid preflight (adds optional sanctions evidence and a signed, independently-verifiable receipt, $0.01) is worth paying for. This result is NOT cryptographically attested and carries no receipt — receipt is always null.

入力スキーマ

{
  "type": "object",
  "properties": {
    "action": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "const": "PAYMENT",
          "description": "The only supported action kind in v1."
        },
        "resource": {
          "type": [
            "string",
            "null"
          ],
          "description": "URL of the resource/service the payment is for, if any."
        },
        "network": {
          "type": "string",
          "description": "CAIP-2 network identifier, e.g. \"eip155:8453\" for Base mainnet."
        },
        "asset": {
          "type": "string",
          "description": "Canonical ERC-20 token contract address (0x…) — never a ticker like \"USDC\"."
        },
        "amount": {
          "type": "string",
          "description": "Canonical decimal string amount, e.g. \"1.00\". Never a float."
        },
        "sender": {
          "type": [
            "string",
            "null"
          ],
          "description": "Sender wallet address, if known."
        },
        "recipient": {
          "type": "string",
          "description": "Recipient wallet address (0x…)."
        }
      },
      "required": [
        "kind",
        "network",
        "asset",
        "amount",
        "recipient"
      ],
      "additionalProperties": false
    },
    "policy": {
      "type": "object",
      "properties": {
        "max_amount": {
          "type": [
            "string",
            "null"
          ],
          "description": "Maximum allowed decimal amount, or null for no configured cap."
        },
        "allowed_networks": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ],
          "description": "Allowed CAIP-2 networks, or null for no restriction."
        },
        "allowed_assets": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ],
          "description": "Allowed token contract addresses, or null for no restriction."
        },
        "expected_recipient": {
          "type": [
            "string",
            "null"
          ],
          "description": "Exact recipient address the caller expects, or null."
        },
        "allowed_resource_origins": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ],
          "description": "Allowed https origins for action.resource, or null."
        },
        "acknowledge_unconstrained": {
          "type": "boolean",
          "description": "Required (true) if every constraint above is null/omitted, confirming that was intentional and not an accident."
        },
        "expected_payer": {
          "type": [
            "string",
            "null"
          ],
          "description": "Frozen commitment to the wallet expected to authorize the eventual on-chain payment (D2.4 binding strength) — decision-neutral, or null."
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "action",
    "policy"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢inspect_allowance(action, policy, options)

FREE. Deterministically inspect an ERC-20 allowance/revocation request against explicit network/token/spender/value policy. No wallet action, no signing, no chain read unless a separately requested preflight asks for it.

入力スキーマ

{
  "type": "object",
  "properties": {
    "action": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "const": "ERC20_ALLOWANCE"
        },
        "network": {
          "type": "string"
        },
        "token": {
          "type": "string"
        },
        "owner": {
          "type": [
            "string",
            "null"
          ]
        },
        "spender": {
          "type": "string"
        },
        "amount_atomic": {
          "type": "string"
        },
        "intent": {
          "type": "string",
          "enum": [
            "SET_ALLOWANCE",
            "REVOKE"
          ]
        }
      },
      "required": [
        "kind",
        "network",
        "token",
        "spender",
        "amount_atomic",
        "intent"
      ],
      "additionalProperties": false
    },
    "policy": {
      "type": "object",
      "properties": {
        "allowed_networks": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_tokens": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_spenders": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "max_allowance_atomic": {
          "type": [
            "string",
            "null"
          ]
        },
        "exact_allowance_atomic": {
          "type": [
            "string",
            "null"
          ]
        },
        "revoke_only": {
          "type": "boolean"
        },
        "unlimited_allowance": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "ALLOW",
                "REQUIRE_APPROVAL",
                "BLOCK"
              ]
            },
            {
              "type": "null"
            }
          ]
        },
        "acknowledge_unconstrained": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "options": {
      "type": "object",
      "properties": {
        "observe_current_allowance": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "action",
    "policy"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢preflight_allowance(action, policy, options)

Call BEFORE an agent asks its wallet to approve or revoke a Base USDC ERC-20 allowance. OCD evaluates strict policy and returns a signed portable allowance artifact. ALLOW is policy only, never wallet authority.

入力スキーマ

{
  "type": "object",
  "properties": {
    "action": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "const": "ERC20_ALLOWANCE"
        },
        "network": {
          "type": "string"
        },
        "token": {
          "type": "string"
        },
        "owner": {
          "type": [
            "string",
            "null"
          ]
        },
        "spender": {
          "type": "string"
        },
        "amount_atomic": {
          "type": "string"
        },
        "intent": {
          "type": "string",
          "enum": [
            "SET_ALLOWANCE",
            "REVOKE"
          ]
        }
      },
      "required": [
        "kind",
        "network",
        "token",
        "spender",
        "amount_atomic",
        "intent"
      ],
      "additionalProperties": false
    },
    "policy": {
      "type": "object",
      "properties": {
        "allowed_networks": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_tokens": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_spenders": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "max_allowance_atomic": {
          "type": [
            "string",
            "null"
          ]
        },
        "exact_allowance_atomic": {
          "type": [
            "string",
            "null"
          ]
        },
        "revoke_only": {
          "type": "boolean"
        },
        "unlimited_allowance": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "ALLOW",
                "REQUIRE_APPROVAL",
                "BLOCK"
              ]
            },
            {
              "type": "null"
            }
          ]
        },
        "acknowledge_unconstrained": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "options": {
      "type": "object",
      "properties": {
        "observe_current_allowance": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "action",
    "policy"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢observe_allowance(artifact, transaction_hash)

Given a signed OCD allowance preflight artifact and submitted Base transaction hash, independently inspect its canonical-USDC Approval event, Base safe-head finality, and historical allowance state. OCD never executes the transaction.

入力スキーマ

{
  "type": "object",
  "properties": {
    "artifact": {},
    "transaction_hash": {
      "type": "string"
    }
  },
  "required": [
    "transaction_hash"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢inspect_swap(action, policy)

FREE. Deterministically inspect a narrow Base USDC-to-WETH direct Uniswap V3 swap against explicit policy. No wallet action or signing.

入力スキーマ

{
  "type": "object",
  "properties": {
    "action": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "const": "SWAP"
        },
        "network": {
          "type": "string"
        },
        "input_asset": {
          "type": "string"
        },
        "max_input_atomic": {
          "type": "string"
        },
        "output_asset": {
          "type": "string"
        },
        "min_output_atomic": {
          "type": "string"
        },
        "recipient": {
          "type": "string"
        },
        "router": {
          "type": "string"
        },
        "deadline": {
          "type": [
            "string",
            "null"
          ]
        },
        "payer": {
          "type": "string"
        }
      },
      "required": [
        "kind",
        "network",
        "input_asset",
        "max_input_atomic",
        "output_asset",
        "min_output_atomic",
        "recipient",
        "router",
        "payer"
      ],
      "additionalProperties": false
    },
    "policy": {
      "type": "object",
      "properties": {
        "allowed_networks": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_input_assets": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_output_assets": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_routers": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "max_input_atomic": {
          "type": [
            "string",
            "null"
          ]
        },
        "min_output_atomic": {
          "type": [
            "string",
            "null"
          ]
        },
        "exact_recipient": {
          "type": [
            "string",
            "null"
          ]
        },
        "acknowledge_unconstrained": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "action",
    "policy"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢preflight_swap(action, policy)

Call BEFORE an agent asks its wallet to execute a narrow Base USDC-to-WETH direct Uniswap V3 swap. OCD returns a signed portable policy artifact. ALLOW is policy only, never wallet authority.

入力スキーマ

{
  "type": "object",
  "properties": {
    "action": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "const": "SWAP"
        },
        "network": {
          "type": "string"
        },
        "input_asset": {
          "type": "string"
        },
        "max_input_atomic": {
          "type": "string"
        },
        "output_asset": {
          "type": "string"
        },
        "min_output_atomic": {
          "type": "string"
        },
        "recipient": {
          "type": "string"
        },
        "router": {
          "type": "string"
        },
        "deadline": {
          "type": [
            "string",
            "null"
          ]
        },
        "payer": {
          "type": "string"
        }
      },
      "required": [
        "kind",
        "network",
        "input_asset",
        "max_input_atomic",
        "output_asset",
        "min_output_atomic",
        "recipient",
        "router",
        "payer"
      ],
      "additionalProperties": false
    },
    "policy": {
      "type": "object",
      "properties": {
        "allowed_networks": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_input_assets": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_output_assets": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_routers": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "max_input_atomic": {
          "type": [
            "string",
            "null"
          ]
        },
        "min_output_atomic": {
          "type": [
            "string",
            "null"
          ]
        },
        "exact_recipient": {
          "type": [
            "string",
            "null"
          ]
        },
        "acknowledge_unconstrained": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "action",
    "policy"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢observe_swap(artifact, transaction_hash)

Given a signed OCD swap preflight artifact and Base transaction hash, independently inspect direct Uniswap V3 exactInputSingle calldata, ERC-20 transfers, and Base safe-head finality. OCD never executes the swap.

入力スキーマ

{
  "type": "object",
  "properties": {
    "artifact": {},
    "transaction_hash": {
      "type": "string"
    }
  },
  "required": [
    "transaction_hash"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢inspect_bridge(action, policy)

FREE. Deterministically inspect a narrow Circle CCTP V2 Base-to-Ethereum native-USDC bridge request against explicit policy. No wallet action, no signing, no chain read.

入力スキーマ

{
  "type": "object",
  "properties": {
    "action": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "const": "BRIDGE"
        },
        "protocol": {
          "type": "string"
        },
        "source_network": {
          "type": "string"
        },
        "destination_network": {
          "type": "string"
        },
        "source_asset": {
          "type": "string"
        },
        "destination_asset": {
          "type": "string"
        },
        "max_source_atomic": {
          "type": "string"
        },
        "min_destination_atomic": {
          "type": "string"
        },
        "recipient": {
          "type": "string"
        }
      },
      "required": [
        "kind",
        "protocol",
        "source_network",
        "destination_network",
        "source_asset",
        "destination_asset",
        "max_source_atomic",
        "min_destination_atomic",
        "recipient"
      ],
      "additionalProperties": false
    },
    "policy": {
      "type": "object",
      "properties": {
        "allowed_source_networks": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_destination_networks": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_source_assets": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_destination_assets": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_protocols": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "max_source_atomic": {
          "type": [
            "string",
            "null"
          ]
        },
        "min_destination_atomic": {
          "type": [
            "string",
            "null"
          ]
        },
        "exact_recipient": {
          "type": [
            "string",
            "null"
          ]
        },
        "acknowledge_unconstrained": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "action",
    "policy"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢preflight_bridge(action, policy)

Call BEFORE an agent asks its wallet to bridge Base USDC to Ethereum via Circle CCTP V2 (depositForBurn). OCD evaluates strict policy and returns a signed portable bridge artifact. ALLOW is policy only, never wallet authority.

入力スキーマ

{
  "type": "object",
  "properties": {
    "action": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "const": "BRIDGE"
        },
        "protocol": {
          "type": "string"
        },
        "source_network": {
          "type": "string"
        },
        "destination_network": {
          "type": "string"
        },
        "source_asset": {
          "type": "string"
        },
        "destination_asset": {
          "type": "string"
        },
        "max_source_atomic": {
          "type": "string"
        },
        "min_destination_atomic": {
          "type": "string"
        },
        "recipient": {
          "type": "string"
        }
      },
      "required": [
        "kind",
        "protocol",
        "source_network",
        "destination_network",
        "source_asset",
        "destination_asset",
        "max_source_atomic",
        "min_destination_atomic",
        "recipient"
      ],
      "additionalProperties": false
    },
    "policy": {
      "type": "object",
      "properties": {
        "allowed_source_networks": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_destination_networks": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_source_assets": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_destination_assets": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_protocols": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "max_source_atomic": {
          "type": [
            "string",
            "null"
          ]
        },
        "min_destination_atomic": {
          "type": [
            "string",
            "null"
          ]
        },
        "exact_recipient": {
          "type": [
            "string",
            "null"
          ]
        },
        "acknowledge_unconstrained": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "action",
    "policy"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢observe_bridge(artifact, source_transaction_hash, destination_transaction_hash)

Given a signed OCD bridge preflight artifact, the Base depositForBurn transaction hash, and (once available) the Ethereum receiveMessage transaction hash, independently observe both chains, verify the CCTP message identity matches, and reconcile against the authorized action. Source-only observation is reported as an evidence gap, never as completion.

入力スキーマ

{
  "type": "object",
  "properties": {
    "artifact": {},
    "source_transaction_hash": {
      "type": "string"
    },
    "destination_transaction_hash": {
      "type": "string"
    }
  },
  "required": [
    "source_transaction_hash"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢inspect_staking(action, policy)

FREE. Deterministically inspect a narrow Ethereum Lido stETH submit request against explicit policy. No wallet action, signing, or chain read.

入力スキーマ

{
  "type": "object",
  "properties": {
    "action": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "const": "STAKE"
        },
        "protocol": {
          "type": "string",
          "const": "lido-steth-submit"
        },
        "network": {
          "type": "string"
        },
        "input_asset": {
          "type": "string"
        },
        "staker": {
          "type": "string"
        },
        "max_amount_wei": {
          "type": "string"
        }
      },
      "required": [
        "kind",
        "protocol",
        "network",
        "input_asset",
        "staker",
        "max_amount_wei"
      ],
      "additionalProperties": false
    },
    "policy": {
      "type": "object",
      "properties": {
        "allowed_networks": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_protocols": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "exact_staker": {
          "type": [
            "string",
            "null"
          ]
        },
        "max_amount_wei": {
          "type": [
            "string",
            "null"
          ]
        },
        "acknowledge_unconstrained": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "action",
    "policy"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢preflight_staking(action, policy)

Call BEFORE an agent asks its wallet to submit ETH to Lido stETH. OCD evaluates strict policy and returns a signed portable staking artifact. ALLOW is policy only, never wallet authority.

入力スキーマ

{
  "type": "object",
  "properties": {
    "action": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "const": "STAKE"
        },
        "protocol": {
          "type": "string",
          "const": "lido-steth-submit"
        },
        "network": {
          "type": "string"
        },
        "input_asset": {
          "type": "string"
        },
        "staker": {
          "type": "string"
        },
        "max_amount_wei": {
          "type": "string"
        }
      },
      "required": [
        "kind",
        "protocol",
        "network",
        "input_asset",
        "staker",
        "max_amount_wei"
      ],
      "additionalProperties": false
    },
    "policy": {
      "type": "object",
      "properties": {
        "allowed_networks": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "allowed_protocols": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "exact_staker": {
          "type": [
            "string",
            "null"
          ]
        },
        "max_amount_wei": {
          "type": [
            "string",
            "null"
          ]
        },
        "acknowledge_unconstrained": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "action",
    "policy"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢observe_staking(artifact, transaction_hash)

Given a signed OCD staking preflight artifact and Ethereum transaction hash, independently inspect the canonical Lido Submitted event, transaction sender/value, optional minted shares, and Ethereum finalized-head finality. OCD never stakes ETH.

入力スキーマ

{
  "type": "object",
  "properties": {
    "artifact": {},
    "transaction_hash": {
      "type": "string"
    }
  },
  "required": [
    "transaction_hash"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_receipt(receipt_id)

Look up a public OCD receipt by its exact receipt_id (format "OCD-RCP-XXXX-XXXX-XXXX-XXXX"). Free, no payment. Returns the complete signed receipt envelope, or a structured not-found/unavailable reason -- never a guess. A private (unpublished) receipt and an unknown id are indistinguishable, both by design: this never confirms or denies that a private receipt exists.

入力スキーマ

{
  "type": "object",
  "properties": {
    "receipt_id": {
      "type": "string",
      "description": "Exact receipt id, e.g. \"OCD-RCP-EMG6-6KR4-PQSG-MZPQ\"."
    }
  },
  "required": [
    "receipt_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢verify_receipt(receipt_id, envelope)

Independently checks whether a receipt is cryptographically VALID, INVALID, or UNVERIFIABLE, with a reason code. Free, no payment. Pass EITHER receipt_id (looks it up first, must be public) OR a complete receipt envelope you already hold (verified directly, no publication needed). This is a convenient ONLINE check -- it trusts this server to have honestly fetched the real signing-key registry. Running the same check yourself offline (the published @onchaindiligence/agent-evidence package) is a strictly stronger trust position; this tool does not replace that option.

入力スキーマ

{
  "type": "object",
  "properties": {
    "receipt_id": {
      "type": "string",
      "description": "Look up and verify a public receipt by exact id. Mutually exclusive with envelope."
    },
    "envelope": {
      "description": "A complete receipt envelope you already hold ({schema, receipt, proof}) to verify directly. Mutually exclusive with receipt_id."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 21 件
検証済みバージョンは記録されていませんツール 21 件