onyx_secure_payment
Secure-transaction RAIL: one signed clearance before an agent sends funds. Give recipient + amount (and optionally a contract address or counterparty ERC-8004 agent id); Onyx runs the full security stack — recipient firewall, contract audit, counterparty reputation — and returns a single PASS / REVIEW / FAIL verdict + risk score, plus the Onyx take-rate quote (bps of value secured). Ed25519-signed so the clearance is provable. The check a serious agent runs before moving real money. Onyx never takes custody. (price: $0.25 USDC, tier: premium)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipient | Yes | 0x recipient address the agent is about to pay (Base). | |
| amount_usdc | Yes | Amount about to be sent, in USDC. Drives both the risk threshold and the take-rate quote. | |
| contract_address | No | Optional. If the payment interacts with a contract, its 0x address — triggers a full contract audit. | |
| counterparty_agent_id | No | Optional. If paying another AI agent, its ERC-8004 id — triggers a reputation check. |