# Pre-transfer address check

GET https://horizonpulse.dev/api/tx-guard

- Price: $0.002 per call. The exact amount is in the 402.
- Pay with: USDC on Base, USDC on Solana, USDC on Polygon, RLUSD on XRP Ledger, EURC on Base
- Family: Onchain and payments (/catalog/onchain.md)

## What it returns
Check a recipient address before sending: allow / warn / block from four mechanical checks; allow is not a guarantee

## Inputs
- chain (required): Chain of the transfer.
- to (required): Recipient address you are about to send to.
- expected: Optional: the address you meant to send to (lookalike check).
- token: Optional: token contract on Base or Polygon (ScamSniffer public list, GPL-3.0, last updated February 2024 per its maintainer; a hit is the list's own…
Full schema and bounds: /openapi.json

## If the call fails
- USDC on Base: errors are not charged, apart from the exceptions noted on a route.
- USDC on Solana: a refused or failed request may still be charged.
- On Polygon (native USDC), a request is settled only when it succeeds (HTTP status below 400). Failed requests are not charged.
- RLUSD on XRP Ledger: a refused or failed request may still be charged.

## Try it
- Unpaid sample on a fixed input: GET https://horizonpulse.dev/api/demo/tx-guard
- Setup: /setup.md
