Can this payer settle this x402 payment requirement right now?
api.criptonlabs.com/v1/pro/solana/x402/preflight
Can this payer settle this x402 payment requirement right now?
GET
https://api.criptonlabs.com/v1/pro/solana/x402/preflightUptime100% of 4 checks in 30 days
30 days agoToday
Call it from an agent
curl -i "https://api.criptonlabs.com/v1/pro/solana/x402/preflight?asset=2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo&payer=6vk7icY2FzdMTzMGE4aNRSzovanAmS7xsv9uHwj4YuzY&amount=1000000&pay_to=29d2S7vB453rNYFdR5Ycwt7y9haRT5fwVwL9zTmBhfV2" # 402 Payment Required comes back with the price and where to pay. # Any x402 client pays and retries.
Example input
{
"asset": "2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo",
"payer": "6vk7icY2FzdMTzMGE4aNRSzovanAmS7xsv9uHwj4YuzY",
"amount": "1000000",
"pay_to": "29d2S7vB453rNYFdR5Ycwt7y9haRT5fwVwL9zTmBhfV2"
}More from Criptonlabs Agent APIsProvider status
- 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/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/pathsMulti-hop payment paths and their source cost.0.07
- 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
