Skip to content
Fourohtwo

Sponsor 2 instruction(s) as fee payer

api.liquidagent.ai/v1/gas/solana

Sponsor 2 instruction(s) as fee payer: 1518840 lamports (1 account creates)

SolanaAnswering
POSThttps://api.liquidagent.ai/v1/gas/solana

Uptime100% of 2 checks in 30 days

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://api.liquidagent.ai/v1/gas/solana" \
  -d '{"send":true,"transaction":"<base64 Solana transaction, v0 or legacy, with the sponsor as fee payer>"}'

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

Example input

{
  "send": true,
  "transaction": "<base64 Solana transaction, v0 or legacy, with the sponsor as fee payer>"
}