plugin-x402-endpoints 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +473 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +473 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1935,6 +1935,472 @@ var catalog_default = {
|
|
|
1935
1935
|
}
|
|
1936
1936
|
}
|
|
1937
1937
|
}
|
|
1938
|
+
},
|
|
1939
|
+
{
|
|
1940
|
+
tool: "agent_due_diligence",
|
|
1941
|
+
action: "X402_AGENT_DUE_DILIGENCE",
|
|
1942
|
+
path: "/agent/due-diligence",
|
|
1943
|
+
method: "POST",
|
|
1944
|
+
price: "$0.50",
|
|
1945
|
+
description: "Vet any company, crypto project, counterparty or domain before engaging: one call composes a risk DOSSIER \u2014 synthesis + detected signals + sources + 0-100 risk score + GO/CAUTION/STOP verdict + recommendation + a signed, offline-verifiable receipt. Is this entity a scam, fraud, sanctioned, or safe to deal with? Replaces 3-4 manual web searches plus the synthesis an agent would have to do itself, composed from live public web signals. Counterparty / vendor / project due-diligence for agents. Price: $0.50 per call (x402 payment, USDC on Base mainnet).",
|
|
1946
|
+
llm_usage_prompt: "Composed risk dossier on any entity/project/counterparty/domain: summary + signals + sources + 0-100 score + GO/CAUTION/STOP verdict + signed receipt. One call replaces 3-4 lookups. Input: target.",
|
|
1947
|
+
tags: [
|
|
1948
|
+
"due-diligence",
|
|
1949
|
+
"kyb",
|
|
1950
|
+
"counterparty-risk",
|
|
1951
|
+
"risk-dossier",
|
|
1952
|
+
"agent-decision"
|
|
1953
|
+
],
|
|
1954
|
+
inputSchema: {
|
|
1955
|
+
type: "object",
|
|
1956
|
+
properties: {
|
|
1957
|
+
target: {
|
|
1958
|
+
type: "string",
|
|
1959
|
+
description: "Entity / project / counterparty / domain to vet, e.g. 'Acme DeFi Labs'"
|
|
1960
|
+
},
|
|
1961
|
+
target_type: {
|
|
1962
|
+
type: "string",
|
|
1963
|
+
description: "Optional: entity | project | counterparty | domain | wallet"
|
|
1964
|
+
},
|
|
1965
|
+
context: {
|
|
1966
|
+
type: "string",
|
|
1967
|
+
description: "Optional: why you're engaging / what you're about to do"
|
|
1968
|
+
}
|
|
1969
|
+
},
|
|
1970
|
+
required: [
|
|
1971
|
+
"target"
|
|
1972
|
+
]
|
|
1973
|
+
}
|
|
1974
|
+
},
|
|
1975
|
+
{
|
|
1976
|
+
tool: "agent_analysis_report",
|
|
1977
|
+
action: "X402_AGENT_ANALYSIS_REPORT",
|
|
1978
|
+
path: "/agent/analysis-report",
|
|
1979
|
+
method: "POST",
|
|
1980
|
+
price: "$0.25",
|
|
1981
|
+
description: "Structured analysis report on any URL, company, product or subject in one call: positioning + strengths + risks + opportunities + 0-100 actionable score + STRONG/MODERATE/WEAK rating + recommendation + provenance + a signed receipt. A fixed-schema research report an agent can consume without re-parsing, composed from live public web signals. Competitive / investment / partnership analysis for agents. Price: $0.25 per call (x402 payment, USDC on Base mainnet).",
|
|
1982
|
+
llm_usage_prompt: "Fixed-schema analysis report on a URL/company/subject: positioning + strengths + risks + opportunities + 0-100 score + STRONG/MODERATE/WEAK + signed receipt. Input: input (+ optional focus).",
|
|
1983
|
+
tags: [
|
|
1984
|
+
"analysis-report",
|
|
1985
|
+
"market-analysis",
|
|
1986
|
+
"competitive",
|
|
1987
|
+
"research",
|
|
1988
|
+
"agent-decision"
|
|
1989
|
+
],
|
|
1990
|
+
inputSchema: {
|
|
1991
|
+
type: "object",
|
|
1992
|
+
properties: {
|
|
1993
|
+
input: {
|
|
1994
|
+
type: "string",
|
|
1995
|
+
description: "URL, company, product or subject, e.g. 'stripe.com'"
|
|
1996
|
+
},
|
|
1997
|
+
focus: {
|
|
1998
|
+
type: "string",
|
|
1999
|
+
description: "Optional: investment | competitive | partnership | security | general"
|
|
2000
|
+
}
|
|
2001
|
+
},
|
|
2002
|
+
required: [
|
|
2003
|
+
"input"
|
|
2004
|
+
]
|
|
2005
|
+
}
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
tool: "agent_clearance",
|
|
2009
|
+
action: "X402_AGENT_CLEARANCE",
|
|
2010
|
+
path: "/agent/clearance",
|
|
2011
|
+
method: "POST",
|
|
2012
|
+
price: "$0.25",
|
|
2013
|
+
description: "Safety preflight before an agent runs a DESTRUCTIVE, costly or IRREVERSIBLE action (delete, deploy, transfer funds, publish, overwrite): risk assessment + reversibility check + timing + CLEAR/LIMIT/REVIEW/BLOCK verdict + a cryptographically SIGNED ClearancePacket (decision, approved amount, policy version, evidence hash, expiry, rationale) the agent keeps as proof of authorization. Should I run this action, or stop and ask a human? Stops a mistake far costlier than the call price. Agent action guardrail / clearance / human-in-the-loop gate. Price: $0.25 per call (x402 payment, USDC on Base mainnet).",
|
|
2014
|
+
llm_usage_prompt: "Preflight clearance before a destructive/costly/irreversible agent action: risk + reversibility + timing + CLEAR/LIMIT/REVIEW/BLOCK + a signed Ed25519 ClearancePacket. Input: action (+ action_type, amount_usd).",
|
|
2015
|
+
tags: [
|
|
2016
|
+
"preflight",
|
|
2017
|
+
"action-clearance",
|
|
2018
|
+
"reversibility",
|
|
2019
|
+
"agent-safety",
|
|
2020
|
+
"guardrail"
|
|
2021
|
+
],
|
|
2022
|
+
inputSchema: {
|
|
2023
|
+
type: "object",
|
|
2024
|
+
properties: {
|
|
2025
|
+
action: {
|
|
2026
|
+
type: "string",
|
|
2027
|
+
description: "Action about to run, e.g. 'delete the production users table'"
|
|
2028
|
+
},
|
|
2029
|
+
action_type: {
|
|
2030
|
+
type: "string",
|
|
2031
|
+
description: "Optional: delete|deploy|send|spend|transfer|publish|email|overwrite|approve|rotate|shutdown|other"
|
|
2032
|
+
},
|
|
2033
|
+
amount_usd: {
|
|
2034
|
+
type: "number",
|
|
2035
|
+
description: "Monetary stake in USD if applicable, e.g. 250"
|
|
2036
|
+
},
|
|
2037
|
+
reversible: {
|
|
2038
|
+
type: "boolean",
|
|
2039
|
+
description: "Optional caller hint: is the action reversible?"
|
|
2040
|
+
},
|
|
2041
|
+
target: {
|
|
2042
|
+
type: "string",
|
|
2043
|
+
description: "Optional target (table, address, repo, recipient)"
|
|
2044
|
+
},
|
|
2045
|
+
context: {
|
|
2046
|
+
type: "string",
|
|
2047
|
+
description: "Optional extra context (environment, prior approval)"
|
|
2048
|
+
}
|
|
2049
|
+
},
|
|
2050
|
+
required: [
|
|
2051
|
+
"action"
|
|
2052
|
+
]
|
|
2053
|
+
}
|
|
2054
|
+
},
|
|
2055
|
+
{
|
|
2056
|
+
tool: "agent_output_qa",
|
|
2057
|
+
action: "X402_AGENT_OUTPUT_QA",
|
|
2058
|
+
path: "/agent/output-qa",
|
|
2059
|
+
method: "POST",
|
|
2060
|
+
price: "$0.10",
|
|
2061
|
+
description: "Review and improve an agent's outbound text (email, social post, customer reply) before sending: a multi-criteria scorecard (clarity, spam-safety, tone, length, personalization, CTA, compliance \u2014 each 0-100) + poor/fair/good/excellent rating + top suggestions + a ready-to-send IMPROVED REWRITE. Will this message land or get flagged as spam? One call scores and rewrites. Output review / spam check / copy QA for agents. Price: $0.10 per call (x402 payment, USDC on Base mainnet).",
|
|
2062
|
+
llm_usage_prompt: "Score an agent's outbound text on 7 criteria (clarity, spam-safety, tone, length, personalization, CTA, compliance) + rating + suggestions + improved rewrite. Input: output (+ format, goal).",
|
|
2063
|
+
tags: [
|
|
2064
|
+
"output-qa",
|
|
2065
|
+
"email-review",
|
|
2066
|
+
"content-scoring",
|
|
2067
|
+
"rewrite",
|
|
2068
|
+
"agent-decision"
|
|
2069
|
+
],
|
|
2070
|
+
inputSchema: {
|
|
2071
|
+
type: "object",
|
|
2072
|
+
properties: {
|
|
2073
|
+
output: {
|
|
2074
|
+
type: "string",
|
|
2075
|
+
description: "The agent's outbound text to review (email, post, reply)"
|
|
2076
|
+
},
|
|
2077
|
+
format: {
|
|
2078
|
+
type: "string",
|
|
2079
|
+
description: "Optional: email | social_post | customer_reply | other"
|
|
2080
|
+
},
|
|
2081
|
+
goal: {
|
|
2082
|
+
type: "string",
|
|
2083
|
+
description: "Optional intended goal, e.g. 'book a demo'"
|
|
2084
|
+
}
|
|
2085
|
+
},
|
|
2086
|
+
required: [
|
|
2087
|
+
"output"
|
|
2088
|
+
]
|
|
2089
|
+
}
|
|
2090
|
+
},
|
|
2091
|
+
{
|
|
2092
|
+
tool: "agent_content_scan",
|
|
2093
|
+
action: "X402_AGENT_CONTENT_SCAN",
|
|
2094
|
+
path: "/agent/content-scan",
|
|
2095
|
+
method: "POST",
|
|
2096
|
+
price: "$0.10",
|
|
2097
|
+
description: "Scan any external content before an agent INGESTS it (SKILL.md, web page, user input, tool output) for prompt-injection, data exfiltration, dangerous code execution, hidden/invisible unicode and instruction overrides: 0-100 risk score + SAFE/WARN/BLOCK verdict + structured findings with matched evidence. Is it safe to feed this content to my agent? A fast, cheap, deterministic, high-volume pre-ingest firewall. Prompt-injection / skill-audit / untrusted-content security check for agents. Price: $0.10 per call (x402 payment, USDC on Base mainnet).",
|
|
2098
|
+
llm_usage_prompt: "Deterministic pre-ingest scan for prompt-injection, exfiltration, dangerous exec, hidden unicode and instruction overrides: 0-100 risk score + SAFE/WARN/BLOCK + structured findings. Input: content.",
|
|
2099
|
+
tags: [
|
|
2100
|
+
"content-scan",
|
|
2101
|
+
"prompt-injection",
|
|
2102
|
+
"exfiltration",
|
|
2103
|
+
"agent-security",
|
|
2104
|
+
"safe-ingest"
|
|
2105
|
+
],
|
|
2106
|
+
inputSchema: {
|
|
2107
|
+
type: "object",
|
|
2108
|
+
properties: {
|
|
2109
|
+
content: {
|
|
2110
|
+
type: "string",
|
|
2111
|
+
description: "Raw content to scan before ingestion (SKILL.md, web page, user input, tool output)"
|
|
2112
|
+
},
|
|
2113
|
+
source_type: {
|
|
2114
|
+
type: "string",
|
|
2115
|
+
description: "Optional: skill | webpage | user_input | tool_output | document"
|
|
2116
|
+
}
|
|
2117
|
+
},
|
|
2118
|
+
required: [
|
|
2119
|
+
"content"
|
|
2120
|
+
]
|
|
2121
|
+
}
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
tool: "crypto_pre_trade_verdict",
|
|
2125
|
+
action: "X402_CRYPTO_PRE_TRADE_VERDICT",
|
|
2126
|
+
path: "/crypto/pre-trade-verdict",
|
|
2127
|
+
method: "GET",
|
|
2128
|
+
price: "$0.05",
|
|
2129
|
+
description: "One-call GO/CAUTION/NO-GO pre-trade verdict for AI trading agents: fuses token safety (honeypot, rug, tax, holders), counterparty wallet sanctions screening (OFAC/mixer) and cross-exchange market signal into a single decision with a signed, offline-verifiable receipt. Should I buy this token now? Replaces three separate calls (token-safety + wallet-screen + signal) with one fused GO/NO-GO verdict. EVM chains and Solana. Price: $0.05 per call (x402 payment, USDC on Base mainnet). One-call GO/CAUTION/NO-GO pre-trade verdict fusing token safety (honeypot/rug/tax) + counterparty sanctions screening (OFAC/mixer) + cross-exchange market signal, with a signed receipt. Replaces three calls. EVM + Solana. Input: token (+chain, optional wallet).",
|
|
2130
|
+
llm_usage_prompt: "One-call GO/CAUTION/NO-GO pre-trade verdict fusing token safety (honeypot/rug/tax) + counterparty sanctions screening (OFAC/mixer) + cross-exchange market signal, with a signed receipt. Replaces three calls. EVM + Solana. Input: token (+chain, optional wallet).",
|
|
2131
|
+
tags: [
|
|
2132
|
+
"pre-trade-verdict",
|
|
2133
|
+
"token-safety",
|
|
2134
|
+
"go-no-go",
|
|
2135
|
+
"counterparty-screen",
|
|
2136
|
+
"trading-decision"
|
|
2137
|
+
],
|
|
2138
|
+
inputSchema: {
|
|
2139
|
+
type: "object",
|
|
2140
|
+
properties: {
|
|
2141
|
+
token: {
|
|
2142
|
+
type: "string",
|
|
2143
|
+
description: "Token contract (EVM 0x+40hex) or SPL mint (base58) to evaluate"
|
|
2144
|
+
},
|
|
2145
|
+
chain: {
|
|
2146
|
+
type: "string",
|
|
2147
|
+
description: "base | ethereum | bsc | polygon | arbitrum | optimism | avalanche | solana (default base)"
|
|
2148
|
+
},
|
|
2149
|
+
wallet: {
|
|
2150
|
+
type: "string",
|
|
2151
|
+
description: "Optional counterparty wallet to screen (OFAC/mixer)"
|
|
2152
|
+
}
|
|
2153
|
+
},
|
|
2154
|
+
required: [
|
|
2155
|
+
"token"
|
|
2156
|
+
]
|
|
2157
|
+
}
|
|
2158
|
+
},
|
|
2159
|
+
{
|
|
2160
|
+
tool: "agent_ledger",
|
|
2161
|
+
action: "X402_AGENT_LEDGER",
|
|
2162
|
+
path: "/agent/ledger",
|
|
2163
|
+
method: "GET",
|
|
2164
|
+
price: "$0.04",
|
|
2165
|
+
description: "Your AI agent's books in one call: structured USDC accounting for any wallet on Base (the x402 settlement asset) \u2014 revenue (incoming) vs expenses (outgoing), net, transaction count, top paying counterparties and payees, and a weekly breakdown over a 7d/30d/90d window. Turnkey bookkeeping / expense and revenue report an agent can drop straight into its accounting. The value is the structuring, not raw data access. Price: $0.04 per call (x402 payment, USDC on Base mainnet). Structured USDC accounting for a wallet on Base: revenue vs expenses, net, tx count, top payers/payees, weekly breakdown. Your agent's books in one call. Input: wallet (+period 7d/30d/90d).",
|
|
2166
|
+
llm_usage_prompt: "Structured USDC accounting for a wallet on Base: revenue vs expenses, net, tx count, top payers/payees, weekly breakdown. Your agent's books in one call. Input: wallet (+period 7d/30d/90d).",
|
|
2167
|
+
tags: [
|
|
2168
|
+
"agent-ledger",
|
|
2169
|
+
"x402-accounting",
|
|
2170
|
+
"usdc-bookkeeping",
|
|
2171
|
+
"revenue-expenses",
|
|
2172
|
+
"onchain-ledger"
|
|
2173
|
+
],
|
|
2174
|
+
inputSchema: {
|
|
2175
|
+
type: "object",
|
|
2176
|
+
properties: {
|
|
2177
|
+
wallet: {
|
|
2178
|
+
type: "string",
|
|
2179
|
+
description: "EVM wallet address (0x + 40 hex) to report on",
|
|
2180
|
+
pattern: "^0x[a-fA-F0-9]{40}$"
|
|
2181
|
+
},
|
|
2182
|
+
period: {
|
|
2183
|
+
type: "string",
|
|
2184
|
+
description: "Reporting window: 7d | 30d | 90d | all (default 30d)"
|
|
2185
|
+
}
|
|
2186
|
+
},
|
|
2187
|
+
required: [
|
|
2188
|
+
"wallet"
|
|
2189
|
+
]
|
|
2190
|
+
}
|
|
2191
|
+
},
|
|
2192
|
+
{
|
|
2193
|
+
tool: "proof_notarize",
|
|
2194
|
+
action: "X402_PROOF_NOTARIZE",
|
|
2195
|
+
path: "/proof/notarize",
|
|
2196
|
+
method: "GET",
|
|
2197
|
+
price: "$0.01",
|
|
2198
|
+
description: "Notarize a document or data hash for AI agents: submit a SHA-256 hash (or short content hashed server-side) and get a timestamped, Ed25519-signed proof-of-existence receipt, verifiable offline with no callback. Prove an artifact, agent output or decision existed at a point in time. Honest scope: this is a SIGNED proof-of-existence receipt, NOT a blockchain-anchored or eIDAS/RFC-3161 legal timestamp. The issuer never sees your content when you send only a hash. Price: $0.01 per call (x402 payment, USDC on Base mainnet). Notarize a SHA-256 hash (or short content hashed server-side) into a timestamped, Ed25519-signed proof-of-existence receipt, verifiable offline. Signed proof, NOT a blockchain-anchored or legal (eIDAS/RFC 3161) timestamp. Input: hash or content (+memo).",
|
|
2199
|
+
llm_usage_prompt: "Notarize a SHA-256 hash (or short content hashed server-side) into a timestamped, Ed25519-signed proof-of-existence receipt, verifiable offline. Signed proof, NOT a blockchain-anchored or legal (eIDAS/RFC 3161) timestamp. Input: hash or content (+memo).",
|
|
2200
|
+
tags: [
|
|
2201
|
+
"notary",
|
|
2202
|
+
"proof-of-existence",
|
|
2203
|
+
"timestamp",
|
|
2204
|
+
"ed25519-signature",
|
|
2205
|
+
"hash-attestation"
|
|
2206
|
+
],
|
|
2207
|
+
inputSchema: {
|
|
2208
|
+
type: "object",
|
|
2209
|
+
properties: {
|
|
2210
|
+
hash: {
|
|
2211
|
+
type: "string",
|
|
2212
|
+
description: "SHA-256 hex digest (64 hex chars) to notarize",
|
|
2213
|
+
pattern: "^[0-9a-fA-F]{64}$"
|
|
2214
|
+
},
|
|
2215
|
+
content: {
|
|
2216
|
+
type: "string",
|
|
2217
|
+
description: "Alternative to hash: short content hashed server-side (SHA-256), max 100000 chars"
|
|
2218
|
+
},
|
|
2219
|
+
memo: {
|
|
2220
|
+
type: "string",
|
|
2221
|
+
description: "Optional label bound into the signed proof, e.g. 'invoice #42'"
|
|
2222
|
+
}
|
|
2223
|
+
}
|
|
2224
|
+
}
|
|
2225
|
+
},
|
|
2226
|
+
{
|
|
2227
|
+
tool: "crypto_token_dossier",
|
|
2228
|
+
action: "X402_CRYPTO_TOKEN_DOSSIER",
|
|
2229
|
+
path: "/crypto/token-dossier",
|
|
2230
|
+
method: "GET",
|
|
2231
|
+
price: "$0.10",
|
|
2232
|
+
description: "Full degen token dossier in one call: safety score + honeypot/tax + detailed TOP HOLDERS and concentration + liquidity/FDV/volume/pool-age + contract control (owner, creator, mintable, open-source) + an AI red-flag narrative. Deep due-diligence report on a token before aping \u2014 the premium tier above a plain safety check. EVM chains and Solana. Price: $0.10 per call (x402 payment, USDC on Base mainnet). Full token dossier: safety score + top holders + concentration + liquidity/FDV/pool-age + contract control (owner/creator/mintable) + AI red-flag narrative. Premium tier above a plain safety check. EVM + Solana. Input: token (+chain).",
|
|
2233
|
+
llm_usage_prompt: "Full token dossier: safety score + top holders + concentration + liquidity/FDV/pool-age + contract control (owner/creator/mintable) + AI red-flag narrative. Premium tier above a plain safety check. EVM + Solana. Input: token (+chain).",
|
|
2234
|
+
tags: [
|
|
2235
|
+
"token-dossier",
|
|
2236
|
+
"holders",
|
|
2237
|
+
"liquidity",
|
|
2238
|
+
"rug-check",
|
|
2239
|
+
"red-flags"
|
|
2240
|
+
],
|
|
2241
|
+
inputSchema: {
|
|
2242
|
+
type: "object",
|
|
2243
|
+
properties: {
|
|
2244
|
+
token: {
|
|
2245
|
+
type: "string",
|
|
2246
|
+
description: "Token contract (EVM 0x+40hex) or SPL mint (base58)"
|
|
2247
|
+
},
|
|
2248
|
+
chain: {
|
|
2249
|
+
type: "string",
|
|
2250
|
+
description: "base | ethereum | bsc | polygon | arbitrum | optimism | avalanche | solana (default base)"
|
|
2251
|
+
}
|
|
2252
|
+
},
|
|
2253
|
+
required: [
|
|
2254
|
+
"token"
|
|
2255
|
+
]
|
|
2256
|
+
}
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
tool: "market_intel",
|
|
2260
|
+
action: "X402_MARKET_INTEL",
|
|
2261
|
+
path: "/market/intel",
|
|
2262
|
+
method: "GET",
|
|
2263
|
+
price: "$0.10",
|
|
2264
|
+
description: "AI market intelligence report in one call for research and trading agents: cross-exchange perp derivatives (funding, open interest, long/short), fused directional signals and the euro-area macro snapshot (ECB inflation, policy rates, unemployment, EUR FX) synthesized into a headline, crypto and macro outlook, key signals, risks and opportunities. Multi-source market research report with a crypto + macro/EU lens. Price: $0.10 per call (x402 payment, USDC on Base mainnet). AI market intelligence report: cross-exchange perp derivatives (funding/OI/long-short) + fused directional signals + euro-area ECB macro (inflation, rates, unemployment, FX) synthesized into headline, crypto and macro outlook, key signals, risks, opportunities. Input: focus (crypto/macro/all), depth.",
|
|
2265
|
+
llm_usage_prompt: "AI market intelligence report: cross-exchange perp derivatives (funding/OI/long-short) + fused directional signals + euro-area ECB macro (inflation, rates, unemployment, FX) synthesized into headline, crypto and macro outlook, key signals, risks, opportunities. Input: focus (crypto/macro/all), depth.",
|
|
2266
|
+
tags: [
|
|
2267
|
+
"market-intelligence",
|
|
2268
|
+
"crypto-market-report",
|
|
2269
|
+
"macro",
|
|
2270
|
+
"derivatives",
|
|
2271
|
+
"research"
|
|
2272
|
+
],
|
|
2273
|
+
inputSchema: {
|
|
2274
|
+
type: "object",
|
|
2275
|
+
properties: {
|
|
2276
|
+
focus: {
|
|
2277
|
+
type: "string",
|
|
2278
|
+
description: "crypto | macro | all (default all)"
|
|
2279
|
+
},
|
|
2280
|
+
depth: {
|
|
2281
|
+
type: "string",
|
|
2282
|
+
description: "quick | deep \u2014 deep adds SOL and more web signals (default quick)"
|
|
2283
|
+
}
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
},
|
|
2287
|
+
{
|
|
2288
|
+
tool: "crypto_wallet_forensics",
|
|
2289
|
+
action: "X402_CRYPTO_WALLET_FORENSICS",
|
|
2290
|
+
path: "/crypto/wallet-forensics",
|
|
2291
|
+
method: "GET",
|
|
2292
|
+
price: "$0.15",
|
|
2293
|
+
description: "Multi-hop wallet forensics for AI agents: traverse an address's ERC-20 counterparty graph across 1-3 hops and get the flow graph (nodes + edges), ranked counterparties (direction, tokens, activity) and detected patterns \u2014 flow concentration, circular flows, linked/clustered wallets and high-degree hubs (exchange/mixer/deployer) \u2014 plus a signed receipt. Trace where funds move and who is connected. EVM chains. Price: $0.15 per call (x402 payment, USDC on Base mainnet). Multi-hop wallet forensics: ERC-20 counterparty flow graph (1-3 hops), ranked counterparties, pattern detection (flow concentration, circular flows, linked wallets, high-degree hubs) + signed receipt. Input: wallet (+depth 1-3, chain).",
|
|
2294
|
+
llm_usage_prompt: "Multi-hop wallet forensics: ERC-20 counterparty flow graph (1-3 hops), ranked counterparties, pattern detection (flow concentration, circular flows, linked wallets, high-degree hubs) + signed receipt. Input: wallet (+depth 1-3, chain).",
|
|
2295
|
+
tags: [
|
|
2296
|
+
"wallet-forensics",
|
|
2297
|
+
"flow-graph",
|
|
2298
|
+
"counterparties",
|
|
2299
|
+
"multi-hop",
|
|
2300
|
+
"pattern-detection"
|
|
2301
|
+
],
|
|
2302
|
+
inputSchema: {
|
|
2303
|
+
type: "object",
|
|
2304
|
+
properties: {
|
|
2305
|
+
wallet: {
|
|
2306
|
+
type: "string",
|
|
2307
|
+
description: "EVM wallet address (0x + 40 hex) to investigate",
|
|
2308
|
+
pattern: "^0x[a-fA-F0-9]{40}$"
|
|
2309
|
+
},
|
|
2310
|
+
depth: {
|
|
2311
|
+
type: "integer",
|
|
2312
|
+
description: "Graph hops to traverse: 1, 2 or 3 (default 2)"
|
|
2313
|
+
},
|
|
2314
|
+
chain: {
|
|
2315
|
+
type: "string",
|
|
2316
|
+
description: "base | ethereum | optimism | polygon | arbitrum | gnosis (default base)"
|
|
2317
|
+
}
|
|
2318
|
+
},
|
|
2319
|
+
required: [
|
|
2320
|
+
"wallet"
|
|
2321
|
+
]
|
|
2322
|
+
}
|
|
2323
|
+
},
|
|
2324
|
+
{
|
|
2325
|
+
tool: "chain_events",
|
|
2326
|
+
action: "X402_CHAIN_EVENTS",
|
|
2327
|
+
path: "/chain/events",
|
|
2328
|
+
method: "GET",
|
|
2329
|
+
price: "$0.05",
|
|
2330
|
+
description: "On-demand, decoded on-chain events for AI agents: query a contract's event logs on Base (eth_getLogs) and get normalized, human-readable events \u2014 Transfer, Approval, ERC-1155 TransferSingle/Batch, Uniswap V2/V3 Swap, Sync, Mint, Burn \u2014 with raw topics for unknown signatures. Filter by event name, full signature or topic0, and by block range or lookback. Decoded event feed with no RPC setup, block span capped. Price: $0.05 per call (x402 payment, USDC on Base mainnet). Decoded, normalized on-chain events via eth_getLogs on Base: Transfer, Approval, ERC-1155 TransferSingle/Batch, Uniswap V2/V3 Swap, Sync, Mint, Burn \u2014 raw topics for unknown signatures. Filter by event name/signature/topic0 and block range. Input: contract (+event, block range/lookback).",
|
|
2331
|
+
llm_usage_prompt: "Decoded, normalized on-chain events via eth_getLogs on Base: Transfer, Approval, ERC-1155 TransferSingle/Batch, Uniswap V2/V3 Swap, Sync, Mint, Burn \u2014 raw topics for unknown signatures. Filter by event name/signature/topic0 and block range. Input: contract (+event, block range/lookback).",
|
|
2332
|
+
tags: [
|
|
2333
|
+
"onchain-events",
|
|
2334
|
+
"eth-getlogs",
|
|
2335
|
+
"event-logs",
|
|
2336
|
+
"decoded-events",
|
|
2337
|
+
"base"
|
|
2338
|
+
],
|
|
2339
|
+
inputSchema: {
|
|
2340
|
+
type: "object",
|
|
2341
|
+
properties: {
|
|
2342
|
+
contract: {
|
|
2343
|
+
type: "string",
|
|
2344
|
+
description: "Contract address to read logs from (0x + 40 hex)",
|
|
2345
|
+
pattern: "^0x[a-fA-F0-9]{40}$"
|
|
2346
|
+
},
|
|
2347
|
+
event: {
|
|
2348
|
+
type: "string",
|
|
2349
|
+
description: "Event name (Transfer/Approval/Swap/Mint/Burn/TransferSingle/Sync), full signature 'Transfer(address,address,uint256)', or 0x topic0. Omit for all."
|
|
2350
|
+
},
|
|
2351
|
+
from_block: {
|
|
2352
|
+
type: "integer",
|
|
2353
|
+
description: "Start block (inclusive). Omit to use lookback."
|
|
2354
|
+
},
|
|
2355
|
+
to_block: {
|
|
2356
|
+
type: "integer",
|
|
2357
|
+
description: "End block (inclusive). Omit for latest."
|
|
2358
|
+
},
|
|
2359
|
+
lookback: {
|
|
2360
|
+
type: "integer",
|
|
2361
|
+
description: "If from/to omitted, scan the last N blocks (1-5000, default 2000)"
|
|
2362
|
+
},
|
|
2363
|
+
limit: {
|
|
2364
|
+
type: "integer",
|
|
2365
|
+
description: "Max events (1-100, most recent in range)"
|
|
2366
|
+
}
|
|
2367
|
+
},
|
|
2368
|
+
required: [
|
|
2369
|
+
"contract"
|
|
2370
|
+
]
|
|
2371
|
+
}
|
|
2372
|
+
},
|
|
2373
|
+
{
|
|
2374
|
+
tool: "x402_seller_audit",
|
|
2375
|
+
action: "X402_X402_SELLER_AUDIT",
|
|
2376
|
+
path: "/x402/seller-audit",
|
|
2377
|
+
method: "GET",
|
|
2378
|
+
price: "$0.50",
|
|
2379
|
+
description: "Deep audit of an x402/ACP seller before trusting it: give a seller wallet or domain and get a full report \u2014 on-chain settlement reputation (settlements, unique counterparties, wash-trade/sybil, OFAC), the seller's advertised endpoints (from its /.well-known/x402.json), on-chain liveness, web reputation and red flags \u2014 fused into a TRUSTED/CAUTION/AVOID verdict with a signed, offline-verifiable receipt. Deeper than a pass/fail badge: the full seller due-diligence dossier for agentic payments. Price: $0.50 per call (x402 payment, USDC on Base mainnet). Deep x402 seller audit: on-chain settlement reputation (wash-trade/sybil/OFAC) + advertised endpoints from its /.well-known/x402.json + on-chain liveness + web reputation fused into TRUSTED/CAUTION/AVOID with a signed receipt. Deeper than a pass/fail badge. Input: seller wallet or domain.",
|
|
2380
|
+
llm_usage_prompt: "Deep x402 seller audit: on-chain settlement reputation (wash-trade/sybil/OFAC) + advertised endpoints from its /.well-known/x402.json + on-chain liveness + web reputation fused into TRUSTED/CAUTION/AVOID with a signed receipt. Deeper than a pass/fail badge. Input: seller wallet or domain.",
|
|
2381
|
+
tags: [
|
|
2382
|
+
"x402-seller-audit",
|
|
2383
|
+
"seller-reputation",
|
|
2384
|
+
"endpoint-audit",
|
|
2385
|
+
"due-diligence",
|
|
2386
|
+
"counterparty-risk"
|
|
2387
|
+
],
|
|
2388
|
+
inputSchema: {
|
|
2389
|
+
type: "object",
|
|
2390
|
+
properties: {
|
|
2391
|
+
seller: {
|
|
2392
|
+
type: "string",
|
|
2393
|
+
description: "Seller wallet (0x + 40 hex) or domain, e.g. 'api.example.com'"
|
|
2394
|
+
},
|
|
2395
|
+
depth: {
|
|
2396
|
+
type: "string",
|
|
2397
|
+
description: "On-chain depth: 'shallow' (~200 settlements) or 'deep' (~500)"
|
|
2398
|
+
}
|
|
2399
|
+
},
|
|
2400
|
+
required: [
|
|
2401
|
+
"seller"
|
|
2402
|
+
]
|
|
2403
|
+
}
|
|
1938
2404
|
}
|
|
1939
2405
|
]
|
|
1940
2406
|
};
|
|
@@ -2034,12 +2500,15 @@ async function readBody(resp) {
|
|
|
2034
2500
|
}
|
|
2035
2501
|
}
|
|
2036
2502
|
async function callEndpoint(ep, params, cfg) {
|
|
2037
|
-
const
|
|
2038
|
-
const
|
|
2503
|
+
const method = (ep.method || "GET").toUpperCase();
|
|
2504
|
+
const isPost = method === "POST";
|
|
2505
|
+
const url = isPost ? `${cfg.baseUrl}${ep.path}` : buildUrl(cfg.baseUrl, ep.path, params);
|
|
2506
|
+
const headers = isPost ? { accept: "application/json", "content-type": "application/json" } : { accept: "application/json" };
|
|
2507
|
+
const reqInit = isPost ? { method, headers, body: JSON.stringify(params || {}) } : { method, headers };
|
|
2039
2508
|
const paidFetch = await getPaidFetch(cfg).catch(() => null);
|
|
2040
2509
|
if (paidFetch) {
|
|
2041
2510
|
try {
|
|
2042
|
-
const resp2 = await paidFetch(url,
|
|
2511
|
+
const resp2 = await paidFetch(url, reqInit);
|
|
2043
2512
|
const body2 = await readBody(resp2);
|
|
2044
2513
|
if (resp2.status === 200) return { kind: "data", status: 200, data: body2 };
|
|
2045
2514
|
if (resp2.status === 402) {
|
|
@@ -2057,7 +2526,7 @@ async function callEndpoint(ep, params, cfg) {
|
|
|
2057
2526
|
}
|
|
2058
2527
|
let resp;
|
|
2059
2528
|
try {
|
|
2060
|
-
resp = await fetch(url,
|
|
2529
|
+
resp = await fetch(url, reqInit);
|
|
2061
2530
|
} catch (err) {
|
|
2062
2531
|
return { kind: "error", message: "request failed", detail: `${err?.name}: ${err?.message}` };
|
|
2063
2532
|
}
|