Uniswap · Schema
Encode4337Request
Request body for encoding an ERC-4337 UserOperation.
BlockchainCryptocurrencyDeFiDecentralized ExchangeLiquiditySwaps
Properties
| Name | Type | Description |
|---|---|---|
| calls | array | Batch of transactions to encode into the UserOperation. |
| sender | object | Smart account address that will execute the operation. |
| chainId | object | |
| paymasterUrl | string | JSON-RPC URL of a paymaster service for gas sponsorship. |
| paymasterServiceContext | object | Opaque context forwarded to the paymaster (e.g. `{ "policyId": "..." }`). |
| eip7702Auth | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/uniswap/refs/heads/main/json-schema/uniswap-encode4337-request-schema.json",
"title": "Encode4337Request",
"description": "Request body for encoding an ERC-4337 UserOperation.",
"type": "object",
"properties": {
"calls": {
"type": "array",
"description": "Batch of transactions to encode into the UserOperation.",
"items": {
"$ref": "#/components/schemas/TransactionRequest5792"
},
"minItems": 1
},
"sender": {
"$ref": "#/components/schemas/Address",
"description": "Smart account address that will execute the operation."
},
"chainId": {
"$ref": "#/components/schemas/ChainId"
},
"paymasterUrl": {
"type": "string",
"format": "uri",
"description": "JSON-RPC URL of a paymaster service for gas sponsorship."
},
"paymasterServiceContext": {
"type": "object",
"description": "Opaque context forwarded to the paymaster (e.g. `{ \"policyId\": \"...\" }`)."
},
"eip7702Auth": {
"$ref": "#/components/schemas/Eip7702Authorization"
}
},
"required": [
"calls",
"sender",
"chainId"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/uniswap-encode4337-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.