Skip to content
Fourohtwo

Use before setting a priority fee

solana-pulse-gateway-1021990235790.us-central1.run.app/api/tools/fee_advice

Use before setting a priority fee. Gives prices in the exact unit Compute Budget expects (micro-lamports per compute unit) and the total cost in SOL, so you never overpay by a unit mistake. Turns recent on-chain priority fees into three price tiers and, when you pass your transaction, a compute limit and exact cost for each tier.

SolanaUnchecked
POSThttps://solana-pulse-gateway-1021990235790.us-central1.run.app/api/tools/fee_advice

UptimeNot checked yet

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://solana-pulse-gateway-1021990235790.us-central1.run.app/api/tools/fee_advice" \
  -d '{"transaction":"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAQABA0jAG1BZAFRV2dywxrzs3LT7Wy6rwamoK1c5K6qkDwTmoVgoILMOQ1EYfPamO+NIM+DFNelaCpg5VLgCvW3mbJ8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEEtNEWetTmK6RLkue8tADNy8eH6av+X5ckYlACi5O/AAQICAAEMAgAAAICWmAAAAAAAAA=="}'

# 402 Payment Required comes back with the price and where to pay.

Example input

{
  "transaction": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAQABA0jAG1BZAFRV2dywxrzs3LT7Wy6rwamoK1c5K6qkDwTmoVgoILMOQ1EYfPamO+NIM+DFNelaCpg5VLgCvW3mbJ8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEEtNEWetTmK6RLkue8tADNy8eH6av+X5ckYlACi5O/AAQICAAEMAgAAAICWmAAAAAAAAA=="
}

More from Solana Pulse