Skip to content
Fourohtwo

api.h081.xyz/v1/x402/solana/preflight

Checks whether a stipend_pool operation (the same body as POST /v1/solana/relay) would be relayed, without sending anything: relay fee against the minimum and 0.20% rule, capacity_stake capacity, known root, unspent nullifiers, fresh timestamp, the accounts the final transaction needs and the transaction plan. Returns ok plus every refusal the relay API would answer with. The H081 private bank is

SolanaAnswering
POSThttps://api.h081.xyz/v1/x402/solana/preflight

Uptime100% of 1 check in 30 days

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://api.h081.xyz/v1/x402/solana/preflight" \
  -d '{"mint":"2u1tszSeqZ3qBWF3uNGPFc8TzMk2tdiwknnRMWGWjGWH","op":"transact","payload":"AAEC...base64 borsh(Proof, Args, ext)...","recipientOwner":"EGvxic665gsar6K3YsnuUH4qPTnv1Rb2rMu2F3GpkZGq"}'

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "mint": "2u1tszSeqZ3qBWF3uNGPFc8TzMk2tdiwknnRMWGWjGWH",
  "op": "transact",
  "payload": "AAEC...base64 borsh(Proof, Args, ext)...",
  "recipientOwner": "EGvxic665gsar6K3YsnuUH4qPTnv1Rb2rMu2F3GpkZGq"
}

More from H081 CapitalProvider status