NEAR counterparty risk
counterparty_risk_nearCounterparty-risk verdict (allow, warn or block, with reasons) for a NEAR account, for use before paying it. Checks the OFAC SDN list and operator deny-lists, whether the account exists, its age, its contract code and code changes in the last 72 h, global contracts whose publisher can change them, and, with an Allowance vault, the vault denylist and payment history. Price: $0.02 USDC per call (x402).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault | No | Allowance vault: adds its on-chain denylist and its payment history with this account | |
| account | Yes | NEAR account id, e.g. alice.near or a 64-hex implicit account | |
| network | No | NEAR network; default: testnet for *.testnet accounts, mainnet otherwise | |
| minAgeDays | No | warn when the account is younger than this (default 7) | |
| codeWindowHours | No | warn when the contract code changed within this window (default 72) |