{"info":{"title":"bruno","version":"0.5.2","description":"Permissionless post-paid gas relay"},"openapi":"3.1.0","servers":[{"url":"https://bruno.mailam.app"}],"paths":{"/{chain}/v1/config":{"get":{"summary":"postpaid_config","operationId":"ChainV1ConfigGetConfig","parameters":[{"name":"chain","in":"path","schema":{"type":"string","pattern":"^(?:[1-9][0-9]{0,14}|[a-z][a-z0-9-]*)(?![\\s\\S])"},"required":true,"deprecated":false}],"responses":{"200":{"description":"Request fulfilled, document follows","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TermsResult"}}}},"400":{"description":"Invalid params","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"No such path, the chain isn't served, or no such submission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"No capacity, or the chain can't be served now","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"deprecated":false}},"/{chain}/v1/quote":{"get":{"summary":"postpaid_quote","operationId":"ChainV1QuoteGetQuote","parameters":[{"name":"chain","in":"path","schema":{"type":"string","pattern":"^(?:[1-9][0-9]{0,14}|[a-z][a-z0-9-]*)(?![\\s\\S])"},"required":true,"deprecated":false},{"name":"gas","in":"query","schema":{"type":"string","pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","examples":["0x186a0"]},"required":true,"deprecated":false,"allowEmptyValue":false,"allowReserved":false,"examples":{"gas-example-1":{"value":"0x186a0"}}},{"name":"callBytes","in":"query","schema":{"type":"string","pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","examples":["0x200"]},"required":true,"deprecated":false,"allowEmptyValue":false,"allowReserved":false,"examples":{"call_bytes-example-1":{"value":"0x200"}}},{"name":"tokens","in":"query","schema":{"items":{"type":"string"},"type":"array","minItems":1,"examples":[["0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"]]},"required":true,"deprecated":false,"allowEmptyValue":false,"allowReserved":false,"examples":{"tokens-example-1":{"value":["0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"]}}},{"name":"authority","in":"query","schema":{"oneOf":[{"type":"string"},{"type":"null"}],"pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])"},"required":false,"deprecated":false,"allowEmptyValue":false,"allowReserved":false},{"name":"payer","in":"query","schema":{"oneOf":[{"type":"string"},{"type":"null"}],"pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])","description":"The account a signed transfer pays from (its `from`): given, the payment is that transfer; not given, the call pays for itself"},"description":"The account a signed transfer pays from (its `from`): given, the payment is that transfer; not given, the call pays for itself","required":false,"deprecated":false,"allowEmptyValue":false,"allowReserved":false},{"name":"verifyGas","in":"query","schema":{"oneOf":[{"type":"string"},{"type":"null"}],"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"The gas the payer's signature check takes, if known: only with `payer`"},"description":"The gas the payer's signature check takes, if known: only with `payer`","required":false,"deprecated":false,"allowEmptyValue":false,"allowReserved":false},{"name":"account","in":"query","schema":{"oneOf":[{"type":"string"},{"type":"null"}],"pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])"},"required":false,"deprecated":false,"allowEmptyValue":false,"allowReserved":false},{"name":"factory","in":"query","schema":{"oneOf":[{"type":"string"},{"type":"null"}],"pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])"},"required":false,"deprecated":false,"allowEmptyValue":false,"allowReserved":false},{"name":"factoryData","in":"query","schema":{"oneOf":[{"type":"string"},{"type":"null"}],"pattern":"^(?:0x([0-9a-fA-F]{2})*)(?![\\s\\S])"},"required":false,"deprecated":false,"allowEmptyValue":false,"allowReserved":false}],"responses":{"200":{"description":"Request fulfilled, document follows","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteResult"}}}},"400":{"description":"Invalid params","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"No such path, the chain isn't served, or no such submission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Underpaid, simulation failed, or an unsupported token or payee","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"No capacity, or the chain can't be served now","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"deprecated":false}},"/{chain}/v1/submissions":{"post":{"summary":"postpaid_sendTransaction","operationId":"ChainV1SubmissionsPostSubmission","parameters":[{"name":"chain","in":"path","schema":{"type":"string","pattern":"^(?:[1-9][0-9]{0,14}|[a-z][a-z0-9-]*)(?![\\s\\S])"},"required":true,"deprecated":false}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendParams"}}},"required":true},"responses":{"200":{"description":"Taken already","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendResult"}}}},"202":{"description":"Request accepted, processing continues off-line","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendResult"}}}},"400":{"description":"Invalid params","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"No such path, the chain isn't served, or no such submission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Underpaid, simulation failed, or an unsupported token or payee","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"No capacity, or the chain can't be served now","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"deprecated":false}},"/{chain}/v1/user-operations/gas":{"post":{"summary":"eth_estimateUserOperationGas","operationId":"ChainV1UserOperationsGasPostUserOperationGas","parameters":[{"name":"chain","in":"path","schema":{"type":"string","pattern":"^(?:[1-9][0-9]{0,14}|[a-z][a-z0-9-]*)(?![\\s\\S])"},"required":true,"deprecated":false}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOperationParams"}}},"required":true},"responses":{"200":{"description":"Request fulfilled, document follows","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasEstimateResult"}}}},"400":{"description":"Invalid params","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"No such path, the chain isn't served, or no such submission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Underpaid, simulation failed, or an unsupported token or payee","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"No capacity, or the chain can't be served now","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"deprecated":false}},"/{chain}/v1/user-operations/quote":{"post":{"summary":"postpaid_quoteUserOperation","operationId":"ChainV1UserOperationsQuotePostUserOperationQuote","parameters":[{"name":"chain","in":"path","schema":{"type":"string","pattern":"^(?:[1-9][0-9]{0,14}|[a-z][a-z0-9-]*)(?![\\s\\S])"},"required":true,"deprecated":false}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOperationParams"}}},"required":true},"responses":{"200":{"description":"Request fulfilled, document follows","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteResult"}}}},"400":{"description":"Invalid params","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"No such path, the chain isn't served, or no such submission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Underpaid, simulation failed, or an unsupported token or payee","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"No capacity, or the chain can't be served now","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"deprecated":false}},"/{chain}/v1/user-operations":{"post":{"summary":"eth_sendUserOperation","operationId":"ChainV1UserOperationsPostUserOperation","parameters":[{"name":"chain","in":"path","schema":{"type":"string","pattern":"^(?:[1-9][0-9]{0,14}|[a-z][a-z0-9-]*)(?![\\s\\S])"},"required":true,"deprecated":false}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOperationParams"}}},"required":true},"responses":{"200":{"description":"Request fulfilled, document follows","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOperationSent"}}}},"400":{"description":"Invalid params","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"No such path, the chain isn't served, or no such submission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"422":{"description":"Underpaid, simulation failed, or an unsupported token or payee","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"No capacity, or the chain can't be served now","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"deprecated":false}},"/{chain}/v1/user-operations/{op_hash}":{"get":{"summary":"eth_getUserOperationReceipt","operationId":"ChainV1UserOperationsOpHashGetUserOperation","parameters":[{"name":"chain","in":"path","schema":{"type":"string","pattern":"^(?:[1-9][0-9]{0,14}|[a-z][a-z0-9-]*)(?![\\s\\S])"},"required":true,"deprecated":false},{"name":"op_hash","in":"path","schema":{"type":"string","pattern":"^(?:0x[0-9a-f]{64})(?![\\s\\S])"},"required":true,"deprecated":false}],"responses":{"200":{"description":"Request fulfilled, document follows","headers":{},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UserOperationReceiptJson"},{"type":"null"}]}}}},"400":{"description":"Invalid params","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"No such path, the chain isn't served, or no such submission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"No capacity, or the chain can't be served now","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"deprecated":false}},"/{chain}/v1/submissions/{submission_id}":{"get":{"summary":"postpaid_getStatus","operationId":"ChainV1SubmissionsSubmissionIdGetSubmission","parameters":[{"name":"chain","in":"path","schema":{"type":"string","pattern":"^(?:[1-9][0-9]{0,14}|[a-z][a-z0-9-]*)(?![\\s\\S])"},"required":true,"deprecated":false},{"name":"submission_id","in":"path","schema":{"type":"string","pattern":"^(?:0x[0-9a-f]{64})(?![\\s\\S])"},"required":true,"deprecated":false}],"responses":{"200":{"description":"Request fulfilled, document follows","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusResult"}}}},"400":{"description":"Invalid params","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"404":{"description":"No such path, the chain isn't served, or no such submission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}},"503":{"description":"No capacity, or the chain can't be served now","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorBody"}}}}},"deprecated":false}},"/openrpc.json":{"get":{"summary":"OpenRPC","operationId":"OpenrpcJsonGetOpenrpc","responses":{"200":{"description":"Request fulfilled, document follows","headers":{},"content":{"application/json":{"schema":{"additionalProperties":{},"type":"object"}}}}},"deprecated":false}},"/openapi.json":{"get":{"summary":"OpenAPI","operationId":"OpenapiJsonGetOpenapi","responses":{"200":{"description":"Request fulfilled, document follows","headers":{},"content":{"application/json":{"schema":{"additionalProperties":{},"type":"object"}}}}},"deprecated":false}},"/{chain}":{"post":{"summary":"JSON-RPC","operationId":"ChainJsonRpc","parameters":[{"name":"chain","in":"path","schema":{"type":"string","pattern":"^(?:[1-9][0-9]{0,14}|[a-z][a-z0-9-]*)(?![\\s\\S])"},"required":true,"deprecated":false}],"responses":{"200":{"description":"Request fulfilled, document follows","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RpcResponse"}}}},"400":{"description":"Bad request syntax or unsupported method","content":{"application/json":{"schema":{"properties":{"status_code":{"type":"integer"},"detail":{"type":"string"},"extra":{"additionalProperties":{},"type":["null","object","array"]}},"type":"object","required":["detail","status_code"],"description":"Validation Exception","examples":[{"status_code":400,"detail":"Bad Request","extra":{}}]}}}}},"deprecated":false}},"/{chain}/v1/x402":{"post":{"summary":"x402","description":"Sends one EVM call and pays its gas, paid by an EIP-3009 authorization that's settled in the same transaction as the call: only if the call succeeds and is included. Post the call (to, data, its gas, an EIP-7702 authorization if any) for its price. Without one, the price is a reference call's: one authorization, 150,000 gas, 512 bytes of data.","parameters":[{"name":"chain","in":"path","required":true,"schema":{"type":"string"},"description":"The chain's id, or its network's name"},{"name":"PAYMENT-SIGNATURE","in":"header","required":false,"schema":{"type":"string"},"description":"x402's payment payload, base64 of its JSON"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402Params"}}}},"responses":{"200":{"description":"Settled: its transaction included (PAYMENT-RESPONSE)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402Result"}}}},"402":{"description":"What to pay (PAYMENT-REQUIRED); why a payment wasn't taken","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentRequired"}}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"dynamic","currency":"USD","min":"0.01"}}}}},"components":{"schemas":{"X402Params":{"title":"X402Params","description":"The call an x402 payment is for: the submission less its payment and deadline, which\nthe payment brings.","type":"object","properties":{"call":{"$ref":"#/components/schemas/Call"},"gas":{"description":"A quantity, as hex","type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])"},"authorizationList":{"type":"array","items":{"$ref":"#/components/schemas/AuthorizationJson"},"default":[]},"payer":{"anyOf":[{"description":"An address","type":"string","pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])"},{"type":"null"}],"default":null},"deployment":{"anyOf":[{"$ref":"#/components/schemas/DeploymentJson"},{"type":"null"}],"default":null},"verifyGas":{"anyOf":[{"description":"A quantity, as hex","type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])"},{"type":"null"}],"default":null}},"required":["call","gas"]},"Call":{"properties":{"to":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])","description":"An address"},"data":{"type":"string","pattern":"^(?:0x([0-9a-fA-F]{2})*)(?![\\s\\S])","description":"Bytes, as hex"}},"type":"object","required":["data","to"],"title":"Call"},"AuthorizationJson":{"properties":{"chainId":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"address":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])","description":"An address"},"nonce":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"yParity":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{1,64})(?![\\s\\S])","description":"A word, as hex"},"r":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{1,64})(?![\\s\\S])","description":"A word, as hex"},"s":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{1,64})(?![\\s\\S])","description":"A word, as hex"}},"type":"object","required":["address","chainId","nonce","r","s","yParity"],"title":"AuthorizationJson"},"DeploymentJson":{"properties":{"account":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])","description":"An address"},"factory":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])","description":"An address"},"factoryData":{"type":"string","pattern":"^(?:0x([0-9a-fA-F]{2})*)(?![\\s\\S])","description":"Bytes, as hex"}},"type":"object","required":["account","factory","factoryData"],"title":"DeploymentJson"},"PaymentRequired":{"title":"PaymentRequired","type":"object","properties":{"x402Version":{"type":"integer"},"resource":{"$ref":"#/components/schemas/ResourceInfo"},"accepts":{"type":"array","items":{"$ref":"#/components/schemas/PaymentRequirements"}},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"extensions":{"anyOf":[{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Extension"}},{"type":"null"}],"default":null}},"required":["x402Version","resource","accepts"]},"ResourceInfo":{"title":"ResourceInfo","type":"object","properties":{"url":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"mimeType":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"serviceName":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"tags":{"type":"array","items":{"type":"string"},"default":[]}},"required":["url"]},"PaymentRequirements":{"title":"PaymentRequirements","type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"amount":{"type":"string"},"asset":{"description":"An address","type":"string","pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])"},"payTo":{"description":"An address","type":"string","pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])"},"maxTimeoutSeconds":{"type":"integer"},"extra":{"anyOf":[{"$ref":"#/components/schemas/TokenDomain"},{"type":"null"}],"default":null}},"required":["scheme","network","amount","asset","payTo","maxTimeoutSeconds"]},"TokenDomain":{"title":"TokenDomain","description":"`exact`'s `extra` on EVM: the token's EIP-712 domain, which the client signs for; and the\nprotocol's reserved keys, as a client may echo them: how the payment moves (EIP-3009 by\ndefault) and when it settles (`authorization` by default).","type":"object","properties":{"name":{"type":"string"},"version":{"type":"string"},"assetTransferMethod":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null},"paymentFlow":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null}},"required":["name","version"]},"Extension":{"title":"Extension","description":"An extension's data, and the JSON Schema it's validated by.","type":"object","properties":{"info":{"type":"object","additionalProperties":{"description":"Any JSON value"}},"schema":{"type":"object","additionalProperties":{"description":"Any JSON value"}}},"required":["info","schema"]},"X402Result":{"title":"X402Result","description":"A paid submission taken: its id, and where its status is.","type":"object","properties":{"id":{"description":"32 bytes, as hex","type":"string","pattern":"^(?:0x[0-9a-f]{64})(?![\\s\\S])"},"statusUrl":{"type":"string"}},"required":["id","statusUrl"]},"Code":{"type":"integer","enum":[-32700,-32600,-32601,-32602,-32603,-32010,-32011,-32012,-32013,-32014,-32015],"title":"Code","description":"JSON-RPC 2.0's own error codes, and the relay's."},"ErrorBody":{"properties":{"error":{"$ref":"#/components/schemas/ErrorObject"}},"type":"object","required":["error"],"title":"ErrorBody"},"ErrorObject":{"properties":{"code":{"$ref":"#/components/schemas/Code"},"message":{"type":"string"},"data":{"oneOf":[{},{"type":"null"}]}},"type":"object","required":["code","message"],"title":"ErrorObject"},"GasEstimateResult":{"properties":{"preVerificationGas":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"verificationGasLimit":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"callGasLimit":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"paymasterVerificationGasLimit":{"oneOf":[{"type":"string"},{"type":"null"}],"maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"paymasterPostOpGasLimit":{"oneOf":[{"type":"string"},{"type":"null"}],"maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"}},"type":"object","required":["callGasLimit","preVerificationGas","verificationGasLimit"],"title":"GasEstimateResult"},"PaymentJson":{"properties":{"token":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])","description":"An address"},"payee":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])","description":"An address"},"amount":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"transfer":{"oneOf":[{"$ref":"#/components/schemas/TransferJson"},{"type":"null"}]}},"type":"object","required":["amount","payee","token"],"title":"PaymentJson"},"QuoteResult":{"properties":{"validUntilBlock":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"quotes":{"items":{"$ref":"#/components/schemas/TokenQuote"},"type":"array"}},"type":"object","required":["quotes","validUntilBlock"],"title":"QuoteResult"},"RpcResponse":{"properties":{"id":{"oneOf":[{"type":"integer"},{"type":"string"},{"type":"null"}]},"jsonrpc":{"type":"string","default":"2.0"},"result":{"oneOf":[{}]},"error":{"oneOf":[{"$ref":"#/components/schemas/ErrorObject"}]}},"type":"object","required":["id"],"title":"RpcResponse"},"SendParams":{"properties":{"call":{"$ref":"#/components/schemas/Call"},"gas":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"payment":{"$ref":"#/components/schemas/PaymentJson"},"maxBlockNumber":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"authorizationList":{"items":{"$ref":"#/components/schemas/AuthorizationJson"},"type":"array","default":[]},"deployment":{"oneOf":[{"$ref":"#/components/schemas/DeploymentJson"},{"type":"null"}]}},"type":"object","required":["call","gas","maxBlockNumber","payment"],"title":"SendParams"},"SendResult":{"properties":{"id":{"type":"string","pattern":"^(?:0x[0-9a-f]{64})(?![\\s\\S])","description":"32 bytes, as hex"}},"type":"object","required":["id"],"title":"SendResult"},"StatusResult":{"properties":{"status":{"type":"string"},"stage":{"type":"string"},"attempts":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"transactionHash":{"oneOf":[{"type":"string"},{"type":"null"}],"pattern":"^(?:0x[0-9a-f]{64})(?![\\s\\S])","description":"32 bytes, as hex"},"blockNumber":{"oneOf":[{"type":"string"},{"type":"null"}],"maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"confirmations":{"oneOf":[{"type":"string"},{"type":"null"}],"maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"reason":{"oneOf":[{"type":"string"},{"type":"null"}]},"revertData":{"oneOf":[{"type":"string"},{"type":"null"}],"pattern":"^(?:0x([0-9a-fA-F]{2})*)(?![\\s\\S])","description":"Bytes, as hex"}},"type":"object","required":["attempts","stage","status"],"title":"StatusResult"},"TermsResult":{"properties":{"payee":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])","description":"An address"},"tokens":{"items":{"type":"string"},"type":"array"},"maxGas":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"maxCallBytes":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"}},"type":"object","required":["maxCallBytes","maxGas","payee","tokens"],"title":"TermsResult"},"TokenQuote":{"properties":{"token":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])","description":"An address"},"amount":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"}},"type":"object","required":["amount","token"],"title":"TokenQuote"},"TransferJson":{"properties":{"from":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])","description":"An address"},"validAfter":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"validBefore":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"nonce":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{64})(?![\\s\\S])","description":"32 bytes, as hex"},"signature":{"type":"string","maxLength":8194,"pattern":"^(?:0x(?:[0-9a-fA-F]{2})+)(?![\\s\\S])","description":"A signature, as hex: a key's 65 bytes, a contract's, or ERC-6492-wrapped"}},"type":"object","required":["from","nonce","signature","validAfter","validBefore"],"title":"TransferJson"},"UserOperationJson":{"properties":{"sender":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])","description":"An address"},"nonce":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"callData":{"type":"string","pattern":"^(?:0x([0-9a-fA-F]{2})*)(?![\\s\\S])","description":"Bytes, as hex"},"signature":{"type":"string","pattern":"^(?:0x([0-9a-fA-F]{2})*)(?![\\s\\S])","description":"Bytes, as hex"},"maxFeePerGas":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex","default":"0x0"},"maxPriorityFeePerGas":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex","default":"0x0"},"factory":{"oneOf":[{"type":"string"},{"type":"null"}],"pattern":"^(?:0x7702|0x[0-9a-fA-F]{40})(?![\\s\\S])","description":"An address, or 0x7702: an EIP-7702 account (EntryPoint v0.8)"},"factoryData":{"oneOf":[{"type":"string"},{"type":"null"}],"pattern":"^(?:0x([0-9a-fA-F]{2})*)(?![\\s\\S])","description":"Bytes, as hex"},"callGasLimit":{"oneOf":[{"type":"string"},{"type":"null"}],"maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"verificationGasLimit":{"oneOf":[{"type":"string"},{"type":"null"}],"maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"preVerificationGas":{"oneOf":[{"type":"string"},{"type":"null"}],"maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"paymaster":{"oneOf":[{"type":"string"},{"type":"null"}],"pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])","description":"An address"},"paymasterVerificationGasLimit":{"oneOf":[{"type":"string"},{"type":"null"}],"maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"paymasterPostOpGasLimit":{"oneOf":[{"type":"string"},{"type":"null"}],"maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"paymasterData":{"oneOf":[{"type":"string"},{"type":"null"}],"pattern":"^(?:0x([0-9a-fA-F]{2})*)(?![\\s\\S])","description":"Bytes, as hex"},"eip7702Auth":{"oneOf":[{"$ref":"#/components/schemas/AuthorizationJson"},{"type":"null"}]}},"type":"object","required":["callData","nonce","sender","signature"],"title":"UserOperationJson"},"UserOperationParams":{"properties":{"userOperation":{"$ref":"#/components/schemas/UserOperationJson"},"entryPoint":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])","description":"An address"}},"type":"object","required":["entryPoint","userOperation"],"title":"UserOperationParams"},"UserOperationReceiptJson":{"properties":{"userOpHash":{"type":"string","pattern":"^(?:0x[0-9a-f]{64})(?![\\s\\S])","description":"32 bytes, as hex"},"entryPoint":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])","description":"An address"},"sender":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])","description":"An address"},"nonce":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"paymaster":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{40})(?![\\s\\S])","description":"An address"},"actualGasCost":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"actualGasUsed":{"type":"string","maxLength":66,"pattern":"^(?:0x(0|[1-9a-f][0-9a-f]*))(?![\\s\\S])","description":"A quantity, as hex"},"success":{"type":"boolean"},"reason":{"type":"string","pattern":"^(?:0x([0-9a-fA-F]{2})*)(?![\\s\\S])","description":"Bytes, as hex"},"logs":{},"receipt":{}},"type":"object","required":["actualGasCost","actualGasUsed","entryPoint","logs","nonce","paymaster","reason","receipt","sender","success","userOpHash"],"title":"UserOperationReceiptJson"},"UserOperationSent":{"properties":{"userOpHash":{"type":"string","pattern":"^(?:0x[0-9a-f]{64})(?![\\s\\S])","description":"32 bytes, as hex"}},"type":"object","required":["userOpHash"],"title":"UserOperationSent"}}}}