← Back to directory

Estimate batch gas and protocol fee. Units: amounts[] are RAW base units (USDC 6...

https://gateway.spraay.app/api/v1/batch/estimate

Overview

Estimate batch gas and protocol fee. Units: amounts[] are RAW base units (USDC 6dp: "1500000" = $1.50); totalAmount/fee/totalWithFee are human-decimal strings; suggestedGasLimit is a decimal string.

Protocol x402 (POST)
Price $0.0010
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider gateway
Source bazaar
Indexed 2026-05-20 05:47:29

Health

Status healthy
Latency (p50) 391ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-10-31 07:14:21
Last Healthy 2026-10-31 07:14:21
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "amounts": [ "1500000", "1500000" ], "recipients": [ "0x1111111111111111111111111111111111111111", "0x2222222222222222222222222222222222222222" ], "token": "USDC" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "fee": "0.009", "feePercent": "0.3%", "recipientCount": 2, "success": true, "suggestedGasLimit": "230000", "token": { "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "decimals": 6, "isETH": false, "symbol": "USDC" }, "totalAmount": "3.0", "totalWithFee": "3.009" }, "type": "json" }