Agents

Agent payment pre-check — one verdict before paying an XRPL address (x402, $0.03 USDC on Base or RLUSD on XRPL)

Before an agent pays an XRPL address: a verdict (block / caution / proceed) by fixed published rules, with the destination's XRPLScore, a sanctions screen against every list held (anchored receipt, verify at /api/attest/verify), account age and ledger flags, and wouldFail when the ledger would reject the payment as described (missing destination tag, Deposit Authorization, no RLUSD trust line, unfunded account). The rules are returned in every response. Not advice; 'proceed' only means no rule fired. No signup.

get/api/x402/precheck

Request

  • Base URL: https://www.xrplhub.io
  • URL: https://www.xrplhub.io/api/x402/precheck
  • Auth: none declared

Query parameters

destinationstring required

The XRPL address you are about to pay.

amountstring

Amount you intend to send.

currency'XRP' | 'RLUSD'
destinationTaginteger
fromstring

Your paying address (checks Deposit Authorization preauth).

Response

{ verdict, wouldFail, reasons[], xrplScore, sanctions, account, payment, rules[], disclaimer }

Changes

No recorded changes to this operation across all 1 revision of this API.