plugin-x402-endpoints 0.1.0 → 0.2.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 +223 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +223 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1712,6 +1712,229 @@ var catalog_default = {
|
|
|
1712
1712
|
payTo: "0x1D1B81247C407521E2A01F3E21514870dcf1620f",
|
|
1713
1713
|
network: "eip155:8453",
|
|
1714
1714
|
asset: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
tool: "x402_seller_trust",
|
|
1718
|
+
action: "X402_SELLER_TRUST",
|
|
1719
|
+
path: "/x402/seller-trust",
|
|
1720
|
+
method: "GET",
|
|
1721
|
+
price: "$0.01",
|
|
1722
|
+
description: "Score an x402 seller wallet BEFORE paying it: verdict TRUSTED/CAUTION/AVOID + confidence from its on-chain settlement graph on Base \u2014 settlement count, unique paying counterparties, wallet age, wash-trade and sybil signals \u2014 with a signed, offline-verifiable receipt. Vet / due-diligence an unknown x402 endpoint or merchant wallet before you pay it: is this seller a scam, a fake-volume wash-trader, or a sybil cluster? Agent counterparty risk, seller reputation and trust score for x402 / agentic payments. Price: $0.01 per call (x402 payment, USDC on Base mainnet).",
|
|
1723
|
+
llm_usage_prompt: "Score an x402 seller wallet TRUSTED/CAUTION/AVOID before paying it, from its on-chain settlement graph (settlements, counterparties, age, wash-trade/sybil) with a signed offline-verifiable receipt. Input: seller_wallet.",
|
|
1724
|
+
tags: [
|
|
1725
|
+
"x402-seller-trust",
|
|
1726
|
+
"reputation-score",
|
|
1727
|
+
"wash-trade",
|
|
1728
|
+
"sybil",
|
|
1729
|
+
"counterparty-risk"
|
|
1730
|
+
],
|
|
1731
|
+
inputSchema: {
|
|
1732
|
+
type: "object",
|
|
1733
|
+
properties: {
|
|
1734
|
+
seller_wallet: {
|
|
1735
|
+
type: "string",
|
|
1736
|
+
description: "x402 seller payTo wallet (0x + 40 hex)",
|
|
1737
|
+
pattern: "^0x[a-fA-F0-9]{40}$"
|
|
1738
|
+
},
|
|
1739
|
+
depth: {
|
|
1740
|
+
type: "string",
|
|
1741
|
+
description: "'shallow' (~200 settlements) or 'deep' (~500)"
|
|
1742
|
+
}
|
|
1743
|
+
},
|
|
1744
|
+
required: [
|
|
1745
|
+
"seller_wallet"
|
|
1746
|
+
]
|
|
1747
|
+
}
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
tool: "x402_payment_firewall",
|
|
1751
|
+
action: "X402_PAYMENT_FIREWALL",
|
|
1752
|
+
path: "/x402/payment-firewall",
|
|
1753
|
+
method: "GET",
|
|
1754
|
+
price: "$0.005",
|
|
1755
|
+
description: "Pre-payment risk firewall for AI agents: validate {recipient, amount, chain} BEFORE sending an x402 payment and get ALLOW/REVIEW/BLOCK in <200ms \u2014 OFAC blocklist, sanctioned-mixer check, runaway-overspend vs expected price and anomalous-amount guard. Stop an agent from overpaying or paying a bad address; transaction risk screening and payment guardrail before send. The hosted spending guard / agent budget protection an offline SDK cannot give. Price: $0.005 per call (x402 payment, USDC on Base mainnet).",
|
|
1756
|
+
llm_usage_prompt: "Pre-payment firewall: validate {recipient, amount, chain} before an x402 payment, get ALLOW/REVIEW/BLOCK in <200ms (OFAC blocklist, mixer, runaway-overspend). Input: to_address + amount.",
|
|
1757
|
+
tags: [
|
|
1758
|
+
"x402-payment-firewall",
|
|
1759
|
+
"spending-guard",
|
|
1760
|
+
"pre-payment-risk",
|
|
1761
|
+
"recipient-allowlist",
|
|
1762
|
+
"anomalous-spend"
|
|
1763
|
+
],
|
|
1764
|
+
inputSchema: {
|
|
1765
|
+
type: "object",
|
|
1766
|
+
properties: {
|
|
1767
|
+
to_address: {
|
|
1768
|
+
type: "string",
|
|
1769
|
+
description: "Recipient/payTo address (EVM 0x.., Solana, BTC, TRON, XRP)"
|
|
1770
|
+
},
|
|
1771
|
+
amount: {
|
|
1772
|
+
type: "number",
|
|
1773
|
+
description: "Payment amount in USD, e.g. 0.01"
|
|
1774
|
+
},
|
|
1775
|
+
chain: {
|
|
1776
|
+
type: "string",
|
|
1777
|
+
description: "base | ethereum | solana | bitcoin | tron (optional; inferred from address)"
|
|
1778
|
+
},
|
|
1779
|
+
expected_price: {
|
|
1780
|
+
type: "number",
|
|
1781
|
+
description: "Price the resource advertised \u2014 flags runaway overspend"
|
|
1782
|
+
}
|
|
1783
|
+
},
|
|
1784
|
+
required: [
|
|
1785
|
+
"to_address"
|
|
1786
|
+
]
|
|
1787
|
+
}
|
|
1788
|
+
},
|
|
1789
|
+
{
|
|
1790
|
+
tool: "compliance_wallet_screen",
|
|
1791
|
+
action: "X402_COMPLIANCE_WALLET_SCREEN",
|
|
1792
|
+
path: "/compliance/wallet-screen",
|
|
1793
|
+
method: "GET",
|
|
1794
|
+
price: "$0.005",
|
|
1795
|
+
description: "Crypto wallet sanctions & compliance screening (AML/KYT): screen any EVM/Solana/Bitcoin/Tron/XRP wallet against the official OFAC SDN crypto list (UN/UK declared) with mixer (Tornado Cash) exposure and wallet age, returning PASS/WARN/BLOCK and a cryptographically SIGNED compliance receipt (list-version-pinned, verifiable offline) for audit. Is this address sanctioned, blacklisted or mixer-linked? OFAC wallet check, travel-rule / KYT counterparty screening with an auditable attestation an agent can keep. Price: $0.005 per call (x402 payment, USDC on Base mainnet).",
|
|
1796
|
+
llm_usage_prompt: "Crypto wallet sanctions/AML screening (OFAC SDN multi-chain) with mixer exposure, wallet age and a signed compliance receipt for audit. Verdict PASS/WARN/BLOCK. Input: wallet.",
|
|
1797
|
+
tags: [
|
|
1798
|
+
"crypto-sanctions-screening",
|
|
1799
|
+
"ofac",
|
|
1800
|
+
"aml",
|
|
1801
|
+
"kyt",
|
|
1802
|
+
"compliance-receipt"
|
|
1803
|
+
],
|
|
1804
|
+
inputSchema: {
|
|
1805
|
+
type: "object",
|
|
1806
|
+
properties: {
|
|
1807
|
+
wallet: {
|
|
1808
|
+
type: "string",
|
|
1809
|
+
description: "Wallet to screen \u2014 EVM '0x..', Solana, BTC, TRON 'T..', XRP 'r..'"
|
|
1810
|
+
},
|
|
1811
|
+
chains: {
|
|
1812
|
+
type: "string",
|
|
1813
|
+
description: "Optional comma-separated EVM chains for exposure/age, e.g. 'ethereum,base'"
|
|
1814
|
+
}
|
|
1815
|
+
},
|
|
1816
|
+
required: [
|
|
1817
|
+
"wallet"
|
|
1818
|
+
]
|
|
1819
|
+
}
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
tool: "macro_snapshot",
|
|
1823
|
+
action: "X402_MACRO_SNAPSHOT",
|
|
1824
|
+
path: "/macro/snapshot",
|
|
1825
|
+
method: "GET",
|
|
1826
|
+
price: "$0.005",
|
|
1827
|
+
description: "Macro economic snapshot API \u2014 dated Eurozone economic indicators for trading/research agents: euro-area / Eurozone inflation (HICP / CPI), ECB policy interest rates (deposit, refi), unemployment and EUR FX from the official European Central Bank data portal \u2014 each indicator with value, as_of date, next_release cadence and a signed dated snapshot receipt for reproducible backtests. The interest-rate, inflation and currency context an agent needs before trading. Central bank / economic indicators data API. Price: $0.005 per call (x402 payment, USDC on Base mainnet).",
|
|
1828
|
+
llm_usage_prompt: "Dated euro-area macro snapshot (HICP inflation, ECB policy rates, unemployment, EUR FX) from the official ECB data portal, with next_release and a signed dated snapshot receipt for backtests. Input: indicators.",
|
|
1829
|
+
tags: [
|
|
1830
|
+
"macro-data",
|
|
1831
|
+
"ecb",
|
|
1832
|
+
"inflation",
|
|
1833
|
+
"interest-rate",
|
|
1834
|
+
"economic-indicators"
|
|
1835
|
+
],
|
|
1836
|
+
inputSchema: {
|
|
1837
|
+
type: "object",
|
|
1838
|
+
properties: {
|
|
1839
|
+
indicators: {
|
|
1840
|
+
type: "string",
|
|
1841
|
+
description: "Comma-separated: inflation_hicp, core_inflation, unemployment, deposit_facility_rate, main_refi_rate, marginal_lending_rate, fx_usd, fx_gbp, fx_jpy, fx_chf"
|
|
1842
|
+
},
|
|
1843
|
+
area: {
|
|
1844
|
+
type: "string",
|
|
1845
|
+
description: "HICP reference area: 'U2' (euro area, default) or a country code e.g. 'FR','DE'"
|
|
1846
|
+
}
|
|
1847
|
+
}
|
|
1848
|
+
}
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
tool: "solana_token_safety",
|
|
1852
|
+
action: "X402_SOLANA_TOKEN_SAFETY",
|
|
1853
|
+
path: "/solana/token-safety",
|
|
1854
|
+
method: "GET",
|
|
1855
|
+
price: "$0.01",
|
|
1856
|
+
description: "Solana SPL token safety, rug check and honeypot / scam detection before trading: is this Solana token a rug pull, honeypot or scam? Verdict SAFE/RISKY/CRITICAL + 0-100 score combining STATIC checks (mint/freeze authority, holder concentration) AND BEHAVIORAL analysis (liquidity adequacy, churn, recent dump, tx velocity) plus a blue-chip false-positive guard so USDC/USDT/SOL are never flagged as rugs. Pre-trade SPL token security / scam-token detection that catches behavioral rugs static checkers miss. Price: $0.01 per call (x402 payment, USDC on Base mainnet).",
|
|
1857
|
+
llm_usage_prompt: "Solana SPL token rug check SAFE/RISKY/CRITICAL: static (mint/freeze authority, holders) + behavioral (liquidity, churn, dump, velocity) + blue-chip false-positive guard. Input: mint.",
|
|
1858
|
+
tags: [
|
|
1859
|
+
"solana-token-safety",
|
|
1860
|
+
"rug-check",
|
|
1861
|
+
"honeypot",
|
|
1862
|
+
"behavioral-analysis",
|
|
1863
|
+
"spl-token-risk"
|
|
1864
|
+
],
|
|
1865
|
+
inputSchema: {
|
|
1866
|
+
type: "object",
|
|
1867
|
+
properties: {
|
|
1868
|
+
mint: {
|
|
1869
|
+
type: "string",
|
|
1870
|
+
description: "SPL token mint address (base58), e.g. 'EPjFW...Dt1v' (USDC)"
|
|
1871
|
+
},
|
|
1872
|
+
deep: {
|
|
1873
|
+
type: "boolean",
|
|
1874
|
+
description: "Deeper behavioral + holder analysis (more RPC calls)"
|
|
1875
|
+
}
|
|
1876
|
+
},
|
|
1877
|
+
required: [
|
|
1878
|
+
"mint"
|
|
1879
|
+
]
|
|
1880
|
+
}
|
|
1881
|
+
},
|
|
1882
|
+
{
|
|
1883
|
+
tool: "solana_pre_trade",
|
|
1884
|
+
action: "X402_SOLANA_PRE_TRADE",
|
|
1885
|
+
path: "/solana/pre-trade",
|
|
1886
|
+
method: "GET",
|
|
1887
|
+
price: "$0.05",
|
|
1888
|
+
description: "All-in-one Solana pre-trade decision in ONE call: BUY-SAFE/CAUTION/AVOID fusing four scored modules \u2014 token security, EXECUTABLE liquidity depth (estimated slippage at $100/$1k/$10k), deployer history/control and holder concentration. Should I buy or avoid this Solana token? Full token due-diligence in one call \u2014 replaces 3-4 lookups; built for a trading / sniping agent's risk-review pipeline. Solana trading safety decision and buy/avoid verdict. Price: $0.05 per call (x402 payment, USDC on Base mainnet).",
|
|
1889
|
+
llm_usage_prompt: "One-call Solana pre-trade decision BUY-SAFE/CAUTION/AVOID fusing token security + executable liquidity depth (slippage at size) + deployer history + holder concentration. Input: mint.",
|
|
1890
|
+
tags: [
|
|
1891
|
+
"solana-pre-trade",
|
|
1892
|
+
"trading-decision",
|
|
1893
|
+
"liquidity-depth",
|
|
1894
|
+
"deployer-history",
|
|
1895
|
+
"all-in-one"
|
|
1896
|
+
],
|
|
1897
|
+
inputSchema: {
|
|
1898
|
+
type: "object",
|
|
1899
|
+
properties: {
|
|
1900
|
+
mint: {
|
|
1901
|
+
type: "string",
|
|
1902
|
+
description: "SPL token mint address (base58) to evaluate before buying"
|
|
1903
|
+
}
|
|
1904
|
+
},
|
|
1905
|
+
required: [
|
|
1906
|
+
"mint"
|
|
1907
|
+
]
|
|
1908
|
+
}
|
|
1909
|
+
},
|
|
1910
|
+
{
|
|
1911
|
+
tool: "crypto_signal_fusion",
|
|
1912
|
+
action: "X402_CRYPTO_SIGNAL_FUSION",
|
|
1913
|
+
path: "/crypto/signal-fusion",
|
|
1914
|
+
method: "GET",
|
|
1915
|
+
price: "$0.02",
|
|
1916
|
+
description: "Crypto trading signal (long/short) and market-regime signal in ONE call: LONG/SHORT/NEUTRAL with confidence, fusing the cross-exchange funding rate, crowding (long/short) bias, trend/chop market regime and BTC\u2192altcoin lead-lag from Binance/Bybit/OKX/Hyperliquid \u2014 with declared data freshness. Should I go long or short on this coin? A fused directional trading signal where competitors sell the funding rate, regime and the four numbers separately. Derivatives trading signal for any altcoin. Price: $0.02 per call (x402 payment, USDC on Base mainnet).",
|
|
1917
|
+
llm_usage_prompt: "One-call fused trading signal LONG/SHORT/NEUTRAL combining cross-exchange funding, crowding, trend/chop regime and BTC\u2192alt lead-lag. Input: symbol + timeframe.",
|
|
1918
|
+
tags: [
|
|
1919
|
+
"crypto-trading-signal",
|
|
1920
|
+
"funding-rate",
|
|
1921
|
+
"market-regime",
|
|
1922
|
+
"lead-lag",
|
|
1923
|
+
"signal-fusion"
|
|
1924
|
+
],
|
|
1925
|
+
inputSchema: {
|
|
1926
|
+
type: "object",
|
|
1927
|
+
properties: {
|
|
1928
|
+
symbol: {
|
|
1929
|
+
type: "string",
|
|
1930
|
+
description: "Coin ticker, e.g. 'BTC','ETH','SOL'"
|
|
1931
|
+
},
|
|
1932
|
+
timeframe: {
|
|
1933
|
+
type: "string",
|
|
1934
|
+
description: "Regime/lead-lag timeframe: 5m | 15m | 1h | 4h (default 1h)"
|
|
1935
|
+
}
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1715
1938
|
}
|
|
1716
1939
|
]
|
|
1717
1940
|
};
|