Tx check
tx_checkFree sample: https://apexfaucet.xyz/tx-check ($0.001). Check one unsigned Base or Solana transaction and return SAFE or RISKY. Base: simulation, unlimited approval, approval-for-all, a hidden token move, and one exit check. Solana: simulation, a token drain, a delegate approval, and a rug mint. Nothing is signed or broadcast. $0.001 per call over x402 (USDC on Base or USDC on Solana only). Call once without payment for the terms, sign them with your own wallet, call again with payment.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tx_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Base contract (0x...), required unless raw is set | |
| tx | No | unsigned Solana transaction, base64 or base58 | |
| raw | No | Base serialized unsigned transaction, or the Solana transaction when tx is omitted | |
| data | No | Base 0x calldata, required unless raw is set | |
| from | No | Base sender (0x...), or the Solana signer when signer is omitted | |
| chain | No | base (default) or solana | |
| value | No | Base native value in wei | |
| signer | No | Solana account that would sign | |
| payment | No | a signed x402 payment (the base64 payload you would put in PAYMENT-SIGNATURE). Pass it and the purchase completes inside this tool call. |