{"service":"Liquid Agent gas sponsor (Base)","chain":"Base","chainId":8453,"native":"ETH","endpoint":"https://api.liquidagent.ai/v1/gas","otherChains":[{"chain":"Polygon","chainId":137,"how":"same URL with chainId: 137"}],"what":"An ERC-4337 paymaster you pay per operation in USDC over x402. No account, no API key. Point your wallet SDK's paymaster URL at POST /v1/gas.","enabled":true,"entryPoints":{"v07":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","v08":"0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108"},"paymasters":{"v07":null,"v08":"0x9676897C3BF08977Cdbe78213F84e72A29b844eC"},"signer":"0x79D41854496D62b3f236Bc0dc2597cDA2309E46a","price":"max($0.03, 1.3 × the op's gas cap) where cap = (verificationGasLimit + callGasLimit + preVerificationGas + 60000) × maxFeePerGas. The signed sponsorship locks those limits and the max fee, so the sponsor can never be charged more than the quote.","oneEndpoint":"POST /v1/gas does everything; the body says what you want. JSON-RPC = the ERC-7677 lane for smart-wallet SDKs. {sender, calls} = the direct lane for plain wallets (402 = the quote; pay it and the same call returns the sponsored operation + typed data to sign). {userOperation with signature} = submit it; the fee you paid covers the gas.","flow":["POST /v1/gas {jsonrpc:'2.0',method:'pm_getPaymasterStubData',params:[userOp, entryPoint, chainId, {}]} -> stub fields for gas estimation (free)","POST /v1/gas {method:'pm_getPaymasterData',params:[userOp, entryPoint, chainId, {}]} -> error 402 with data = x402 PaymentRequired (price in USDC, valid 10 minutes)","sign the x402 payment (EIP-3009, as for any x402 call) and retry with params[3] = {x402: <payment object>} -> {paymaster, paymasterData, paymasterVerificationGasLimit, paymasterPostOpGasLimit}","submit the op through your own bundler; our deposit pays the gas","NOTE: public bundlers only relay operations whose paymaster has posted the ERC-7562 stake, and this paymaster is not staked yet, so a bundler will reject the op at that last step. Until it is staked, use bringYourOwnOperation below: POST the unsigned operation here, pay the same quote, sign it your account's way, POST it back and we submit it ourselves."],"retries":"If a paid sponsorship expires unused or your submitted operation reverts, your next quote for the same sender within 30 minutes is free: just repeat the plain request (no payment) and you get the sponsored operation back with quote.priceUsd = 0 and a `credit` field. One free re-quote per paid sponsorship.","solana":{"lane":"POST /v1/gas/solana","enabled":true,"feePayer":"BBcAL97dyJPGmsjQ7pPxCdUsFk1wgZ6jqYQ4DFvCVHkn","how":"GET /v1/gas/solana for the rules: build a Solana transaction with our sponsor as fee payer, POST it, pay the 402 in Solana USDC, get it back co-signed."},"decoder":{"enabled":true,"endpoint":"POST /v1/gas/decode","price":"$0.003 per completed decode","what":"Decode a transaction and receipt logs with a caller-supplied ABI on Base, Polygon, Arbitrum, Optimism or Avalanche. Unknown selectors/events retain raw data with decoded:false.","flow":["POST /v1/gas/decode {chain,txHash,abi} -> 402 for $0.003","retry with X-PAYMENT -> decoded transaction and ordered logs"]},"batchPreflight":{"enabled":true,"endpoint":"POST /v1/gas/preflight/batch","price":"$0.005 + $0.002 per additional call (20 max, $0.043)","what":"Base-only batch of 1-20 calls with one block, one fee snapshot and one settlement. Per-call success or revert, aggregate gas and indicative sponsorship estimate.","flow":["POST /v1/gas/preflight/batch {calls:[...]} -> 402 for the exact batch price","retry with X-PAYMENT -> ordered per-call results"]},"preflight":{"enabled":true,"endpoint":"POST /v1/gas/preflight","price":"$0.005 per completed preflight","what":"Base-only read-only simulation of {to,data?,value?,from?}: returns success or a decoded revert, gas estimate and an indicative plain-transaction USDC estimate. No signing or broadcast. Provider or pricing failure returns before settlement; a decoded revert is a completed result.","flow":["POST /v1/gas/preflight {to,data,value?} -> 402 for $0.005","retry with X-PAYMENT -> simulation result and payment receipt; optional from sets msg.sender (otherwise the zero address)"]},"directLane":{"enabled":true,"submitter":"0x585f1DECcaAF44B06b4935F417C4183BB6C1a353","simple7702Implementation":"0xe6Cae83BdE06E4c305530e199D7217f42808555B","alreadyDelegatedElsewhere":"If your EOA is already EIP-7702-delegated to another implementation you get a 409. Either add \"redelegate\": true to the same {sender, calls} body and we return an authorization (signed by you, applied in the same transaction, reversible) that re-points the wallet to Simple7702Account, or use bringYourOwnOperation and keep your current delegation.","flow":["POST /v1/gas {sender, calls:[{to,data,value?}]} -> 402 with the exact USDC price (the quote, valid 10 minutes)","pay it: retry the same call with X-PAYMENT -> {userOperation (sponsored), typedData, authorization (EIP-7702, only if your EOA is not delegated yet), validUntil}","sign typedData (eth_signTypedData_v4) -> userOperation.signature; sign the authorization if given; POST /v1/gas {userOperation, authorization?} -> we submit and our deposit pays the gas. No further charge; only operations we sponsored are accepted, once each."]},"bringYourOwnOperation":{"enabled":true,"entryPoint":"0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108","what":"Any EntryPoint v0.8 account (a wallet already delegated to another EIP-7702 implementation, or a deployed smart account) can use the sponsor without a bundler and without a paymaster stake: you build the operation, we submit it.","flow":["build the unsigned EntryPoint v0.8 user operation with your wallet's own SDK (sender = your account, your calldata, your gas limits)","POST /v1/gas {userOperation} -> 402 with the exact USDC price (the quote, valid 10 minutes)","pay it: retry with X-PAYMENT -> {userOperation (with our paymaster fields), typedData, validUntil}","sign the operation the way your account expects (Simple7702: eth_signTypedData_v4 of typedData; others: your SDK)","POST /v1/gas {userOperation} with the signature -> we dry-run it through the EntryPoint, then submit from our wallet; our deposit pays the gas. A rejected dry run costs nothing and can be retried before validUntil."]},"stats":"GET /v1/gas/stats (public: sponsorships, fees, gas paid, margin, deposit balance)","chains":["eip155:8453","eip155:137"],"pickChain":"One URL for every chain. Default is Base (8453). For Polygon send chainId: 137 (or chain: \"polygon\") in the body of any direct-lane call, params[2] = 0x89 in ERC-7677 calls, or ?chain=polygon on GET. The fee is USDC on whichever of these you hold: Base, Polygon, Arbitrum or Avalanche (the 402 lists all four; pick one).","feeNetworks":[{"key":"base","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","offered":true,"facilitators":["cdp","payai","heurist","daydreams"],"localFallback":true,"relayerGas":"0.003208533518715341","domainOk":true},{"key":"polygon","network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","offered":true,"facilitators":["cdp","payai"],"localFallback":true,"relayerGas":"34.664761821102436827","domainOk":true}],"docs":"https://api.liquidagent.ai/v1/guide"}