aml
v0.7.7Pre-payment checks for AI agents: sanctions and AML screening of payees, payment pages and requests.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
screen_address Screen a blockchain address for AML risk (free)
Run an AML compliance screen on a single blockchain address BEFORE paying or receiving from it. Checks OFAC sanctions, known mixers, community scam/phishing lists, stablecoin issuer freezes (USDT on Tron, USDC on EVM chains), and on-chain heuristics (address age, activity, one-hop taint from flagged addresses) where the chain supports them. Returns a verdict (clear | caution | risky), a 0–100 risk score, a blocked flag, and clickable verifiable evidence showing which list/label/on-chain path matched — receipts, not a black-box score. A clear verdict means nothing was found in the data Ocea…
| Parameter | Type | Description |
|---|---|---|
address * | string | Address to screen. EVM: 0x + 40 hex (e.g. 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045). Tron: T + 33 base58 (e.g. TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t). Solana: base58 public key. |
lang | string | Language for human-readable fields (signals, note). Defaults to English. |
network | string | EVM chain to screen on. Omit to auto-default to ethereum; ignored for Tron/Solana (auto-detected). One of: ethereum, base, bsc, polygon, arbitrum, optimism, avalanche. |
payee_decide Ask the payee whether it accepts this payment (free)
The other half of a safe agent payment. Before settling, ask the registered payee (by its OceanAlt registry sid — see https://oceanalt.com/registry.json) whether it accepts this incoming payment. Returns status accept | decline | hold_request_info | not_ready, machine-readable reason codes, requested_fields (only on hold), verifiable evidence and a signature. Rule-based, not model judgement: payee readiness comes from the public registry enforcement ladder (https://oceanalt.com/en/registry/rules), the payer address is screened in reverse, and amount / purpose / KYA requirements come from the…
| Parameter | Type | Description |
|---|---|---|
payee * | string | Payee sid from the OceanAlt registry, e.g. oceanalt-200lab-premium |
amountUsdc | number | Amount in USDC |
payerAddress | string | The paying wallet address (screened in reverse) |
payerAgentId | string | The paying agent's KYA id, if the payee requires KYA |
purpose | string | Purpose of the payment, e.g. api-call |
counterparty_control_baseline Check a counterparty's control baseline before paying (free)
Answers a different question from address screening. Screening asks whether an address is risky; this asks how much damage the agent on the other side could do if it were talked into something — whether a spending ceiling exists, whether payees are restricted, whether its credential can be revoked. It returns that party's self-attestation against the OceanAlt Agent Control Baseline, split into two sets that must NOT be conflated: `verified_by_oceanalt` (controls the gateway enforces on every payment — provable) and `self_claimed` (what the party states about its own side — NOT verified b…
| Parameter | Type | Description |
|---|---|---|
agentId | string | Their agent id, if you have it instead of an entity name. |
entity | string | The counterparty's entity name, e.g. "Acme Robotics Ltd". |
resolve_agent_identity Resolve an agent's chain of accountability (free)
Resolves who stands behind a paying agent: agent → principal → mandate → credential → wallet. Each link reports whether it holds, and `completeness` counts how many do — it is a factual count, not a score. Wherever the chain breaks is where accountability stops, which is what you actually need to know before accepting a payment from an autonomous agent. Publication is opt-in and only posture is exposed (that a ceiling exists, never its value), so found:false means the agent has not published — absence of information, not a bad signal. Free, no API key.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | The agent id to resolve. |
recent_flagged List recently flagged high-risk addresses (free)
Return a representative sample of addresses on OceanAlt's reviewed risk list — OFAC-sanctioned, known mixers, and community-reported scam/phishing — each with its source category and the reason it was flagged. Useful for grounding, showing an agent/user what gets blocked and why, or a quick read on the current threat surface. Takes no arguments. Free, no API key.
payment_decision Payment decision: should the agent pay this payee? (free, summary detail)
"Before your agent pays, call OceanAlt once." Pass the payee address the agent is about to pay; get a machine-executable decision: allow | review | decline, plus verifiable evidence and retry semantics. Use this as a gate in an autonomous payment flow — if the decision is not "allow", do not pay. On allow/review it also returns a verifiable compliance attestation you can attach to the settlement so the payment carries proof it passed OceanAlt's decision. Free, no API key, no signup.
| Parameter | Type | Description |
|---|---|---|
to * | string | Payee address the agent is about to pay: EVM (0x + 40 hex), Tron (T…), Solana (base58), Bitcoin (bc1… / 1… / 3…) or XRP Ledger (r…). |
amountUsdc | number | Amount in USDC (optional; recorded/echoed, not required for the decision). |
lang | string | Language for human-readable fields (signals, note, advice). Defaults to English. |
network | string | EVM chain for the payee (same set as screen_address). Optional; ignored for Tron. |
purpose | string | Short purpose/memo for the payment (optional). |
check_calldata_intent Decode a transaction and compare with declared intent (free)
Anti blind-signing. EVM: decodes what calldata will actually do (ERC-20 transfer/approve/permit, setApprovalForAll, ownership transfer, native transfer). Solana: decodes a whole base64 transaction (SPL Token / Token-2022 Transfer, TransferChecked, Approve, SetAuthority, CloseAccount, Burn; System Transfer / Assign; ATA creation). Compares it with the payment the agent believes it is making. decision match = does what you declared; mismatch = different recipient/amount/asset, or an approval / authority change instead of a payment — do not sign; unknown = could not decode (including address-lo…
| Parameter | Type | Description |
|---|---|---|
contract | string | EVM only: the transaction's `to` (token contract, or the recipient for native transfers). |
data | string | EVM only: 0x-prefixed hex calldata. |
intent | object | |
network | string | 'solana' to decode a Solana transaction; EVM chain name or CAIP-2 id otherwise. |
transaction | string | Solana only: base64-serialized transaction or message. |
value | string | EVM only: native value in wei. |
verify_payment_requirements Verify a signed x402 402 response was not tampered with (free)
A 402 response is plaintext: any hop between seller and agent (proxy, CDN, a compromised SDK, a malicious tool) can swap the payTo address. Sellers who sign their payment requirements with OceanAlt put extensions.signedRequirements (Ed25519) inside the PAYMENT-REQUIRED header payload. Pass the decoded header JSON (or its raw base64) and, optionally, the payTo / amount you expect; get verified true/false with a reason code: ok | no_signature | digest_mismatch | signature_invalid | key_unavailable | payto_mismatch | amount_mismatch. Defends against tampering in transit, not against a compromised…
| Parameter | Type | Description |
|---|---|---|
expect | object | What you expect to pay; mismatches are reported. |
keys_url | string | Where the seller publishes its keys (defaults to the keys_url inside the signature). |
payment_required | The decoded PAYMENT-REQUIRED JSON, or the raw base64 header value. |
evidence_bundle Signed evidence bundle for an address (free)
Everything OceanAlt can say about an address, in one Ed25519-signed bundle you can verify offline: screening verdict + evidence + freshness, self-built profile signals, one-hop relations to listed addresses, fulfillment receipt stats. OceanAlt is a witness, not a plaintiff: no conclusions, no attribution of persons, every item carries its source and coverage date. Everything inside is already public; there is no user data and no privileged channel — anyone may request one. Free, 10 per minute.
| Parameter | Type | Description |
|---|---|---|
address * | string | EVM (0x…), Solana / Tron (base58) or Bitcoin address. |
network | string | Chain, e.g. ethereum, base, solana (optional). |
screen_endpoint Screen a payment endpoint for phishing (free)
Screen a payment ENDPOINT (URL or domain) before calling it — the half that address screening cannot answer. In x402 the agent discovers a URL first, receives a 402, and only then learns where to pay: if that endpoint is spoofed, the payee address it hands back is freshly generated and appears on no sanctions list. Checks the hostname and its parent domains against phishing-domain intelligence plus hostname shape signals (bare IP, punycode homograph, deep subdomain nesting, free hosting). Returns clear | caution | risky | unknown with language-independent signal_keys. A clear verdict means n…
| Parameter | Type | Description |
|---|---|---|
url * | string | Full URL or bare domain of the payment endpoint, e.g. https://pay.example.com/x402 or pay.example.com |
check_payment_request Check an email, invoice or message that asks you to pay (free)
Call this before paying because an email, invoice or chat message asked you to. Pass what you received: raw headers if you have them, the From line, subject and body (or body_html), and the payee address if you already extracted one. OceanAlt checks whether the sender is spoofed (SPF/DKIM/DMARC, a display name naming another domain, Reply-To sent elsewhere), whether the sender domain or links imitate a brand or are known phishing hosts, whether the payee is listed or differs from previous_pay_to, and whether the text pressures the reader, announces changed payment details, or carries instructi…
| Parameter | Type | Description |
|---|---|---|
body | string | Plain-text body, invoice text or chat message |
body_html | string | HTML body, if available |
expected_sender_domain | string | The domain this requester normally sends from |
from | string | The From line, e.g. "Acme Billing" <billing@acme.com> |
headers | string | Raw email headers, if available (needed for SPF/DKIM/DMARC) |
network | string | Network of pay_to, e.g. base, ethereum, tron, solana |
pay_to | string | The payee address the message asks you to pay |
previous_pay_to | string | The address you paid this requester last time |
reply_to | string | The Reply-To line, if any |
subject | string |
baseline_controls List the control-baseline questions (free)
Fetch the OceanAlt Agent Control Baseline: the controls an agent operator is expected to run before it is allowed to move money, each answerable yes or no. Call this before attest_control_baseline so you file against real control ids. Each control says which layer enforces it.
attest_control_baseline File your own control-baseline attestation (free)
File your operator's control-baseline attestation: it publishes what controls YOUR side runs, so payers can see it before settling with you. No account, no key, one call. Gaps are allowed and expected: answer false where a control is not in place and describe how you plan to close it in gapPlan. A filing with declared gaps still shows a payer which controls are in place. Control ids are those in the OceanAlt Agent Control Baseline. Only file for a party you are actually authorised to speak for.
| Parameter | Type | Description |
|---|---|---|
answers * | object | Map of control id to boolean, e.g. {"ACB-1.1": true, "ACB-2.1": false}. Ids are those in the OceanAlt Agent Control Baseline (ACB-x.y). |
entity * | string | The accountable party's legal or commonly-used name. This is who the attestation is about, not your agent's name. |
agentId | string | If this party already has an agent registered with OceanAlt, link the attestation to it. |
contact | string | Contact for follow-up. Not published. |
gapPlan | string | For controls answered false: how and when you plan to close them. |
compliance_decision Payment decision with full detail (paid, x402 $0.002 or 1 credit)
Paid version of payment_decision. Start with the free payment_decision tool; switch to this one when you need the full evidence detail and a settled per-call receipt (x402), for example in an audited payment flow. Run OceanAlt's full compliance gateway on a proposed payment and get a DECISION — allow | review | decline — plus advice and verifiable evidence, not just raw data. Combines AML screening of the payee with RAP (Responsible Agentic Payments) gate checks. Use this when an agent needs a go/no-go call before releasing funds. PAID via x402: the first request returns HTTP 402, this ser…
| Parameter | Type | Description |
|---|---|---|
to * | string | Payee address the agent intends to pay: EVM (0x + 40 hex), Tron (T…), Solana (base58), Bitcoin (bc1… / 1… / 3…) or XRP Ledger (r…). |
amountUsdc | number | Payment amount in USDC. Optional; used only for record / mandate-limit checks, not required to get a decision. |
network | string | EVM chain for the payee (same set as screen_address). Optional; ignored for Tron. |
purpose | string | Short free-text note on what the payment is for. Optional (max ~120 chars). |
deep_trace Deep taint trace of a Tron address (paid, x402 $0.01)
Trace a Tron (TRON) USDT address up to 3 hops back along its largest incoming transfers to see whether its funds touch a Tether-frozen, sanctioned, mixer, or scam address upstream — deeper than a single-address screen. Tron only (T…). PAID via x402: moves REAL money and requires OCEANALT_PAYER_KEY. Costs $0.01 in real USDC settled on Base mainnet (eip155:8453) — confirm the live network/price at https://oceanalt.com/api/x402 and use a dedicated low-balance payer wallet. Note: follows only the main funds path, depth ≤3, not exhaustive — no hit does not prove the address is clean.
| Parameter | Type | Description |
|---|---|---|
address * | string | Tron address to trace (T + 33 base58). USDT on TRON. |
batch_screen Batch-screen up to 25 addresses (paid, x402 $0.01)
Screen up to 25 blockchain addresses in a single call. Returns a per-address verdict (clear | caution | risky | invalid), risk score, blocked flag, and top signal, plus a summary count, sorted risky-first. Cheaper per address than screening one at a time. EVM (0x…) and Tron (T…). PAID via x402: moves REAL money and requires OCEANALT_PAYER_KEY. Costs $0.01 in real USDC settled on Base mainnet (eip155:8453) — confirm the live network/price at https://oceanalt.com/api/x402 and use a dedicated low-balance payer wallet.
| Parameter | Type | Description |
|---|---|---|
addresses * | array | Addresses to screen (max 25), each 0x… (EVM) or T… (Tron). Duplicates and blank entries are ignored. |