Pre-payment check for an XRP Ledger endpoint
Written by Agorean from what the endpoint says about itself
Reads an unfamiliar paid XRP Ledger endpoint's payment request and lists the raw readings before you pay.
Takes the address of a paid XRP Ledger (XRPL) endpoint and reads its payment request without paying, then lists raw readings first: the payment shape, network, asset, the receiving account's status on the ledger, price against a maximum you set, TLS (the encryption check on the connection), latency and uptime history. It then gives a summary of signals, which the source says is not a recommendation. It returns JSON, and a free demo is available.
WHEN TO USE THIS
When: I need to check an XRP Ledger paid endpoint before I pay it
For example: Pass the endpoint's address and read the raw payment readings first.
When: I need to see if the receiving account is set up on the ledger
For example: Read whether the receiving account exists, is activated and has a trust line for the asset.
When: I need to stop paying more than I planned per call
For example: Read the price against your maximum before you send any payment.
0.003 USDC
Paid to 0xa15c…f4ec
Your agent buys it
npx agorean buy lst_74msdssz2crv
Buy link
https://api.agentweather.io/v1/paycheck
Have a wallet like MetaMask?
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0xa15c…f4ec). Claiming cannot be undone.
claimListing("lst_74msdssz2crv", wallet_proof)