Multi-hop payment paths and their source cost.
api.criptonlabs.com/v1/pro/xrpl/paths
Multi-hop payment paths and their source cost.
GET
https://api.criptonlabs.com/v1/pro/xrpl/pathsUptimeNot checked yet
30 days agoToday
Call it from an agent
curl -i "https://api.criptonlabs.com/v1/pro/xrpl/paths?asset=XRP&amount=1&source=rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B&destination=rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq" # 402 Payment Required comes back with the price and where to pay.
Example input
{
"asset": "XRP",
"amount": "1",
"source": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
"destination": "rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq"
}More from Criptonlabs Agent APIs
- api.criptonlabs.com/v1/pro/solana/transfer-readinessWill this Solana transfer succeed? A verdict for SOL or an SPL or Token-2022 token.0.03
- api.criptonlabs.com/v1/pro/solana/x402/preflightCan this payer settle this x402 payment requirement right now?0.03
- api.criptonlabs.com/v1/pro/xrpl/metrics/arbitrageWhether a pair's AMM pool and its order book are apart after the AMM fee: per direction the gap, the executable size and the profit after transfer fees.0.04
- api.criptonlabs.com/v1/pro/xrpl/metrics/fx-basisThe EUR/USD rate the XRP Ledger DEX implies through the EUR registry stablecoin against each USD registry stablecoin, and its basis to the ECB reference rate.0.07
- api.criptonlabs.com/v1/pro/xrpl/metrics/liquidity-stressHow stressed a registry stablecoin's liquidity is against its peg default: a score from 0 to 100, its band and the four weighted components behind it.0.04
- api.criptonlabs.com/v1/pro/xrpl/metrics/pegHow far a registry stablecoin trades from its peg on the XRP Ledger DEX: the deviation of each price route, their median and a status.0.04
- api.criptonlabs.com/v1/pro/xrpl/payment-readinessPre-payment check: can this payment from source to destination succeed now?0.04
- api.criptonlabs.com/v1/pro/xrpl/slippageSlippage and average price for buying or selling an amount of base currency.0.03
- api.criptonlabs.com/v1/pro/xrpl/x402/preflightCan this payer settle this x402 payment requirement right now?0.04
