{ "opencollection": "1.0.0", "info": { "name": "Token Trading Approval Wallet API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "x-api-key", "value": "{{x-api-key}}", "placement": "header" } }, "items": [ { "info": { "name": "Wallet", "type": "folder" }, "items": [ { "info": { "name": "Encode ERC-4337 UserOperation", "type": "http" }, "http": { "method": "POST", "url": "https://trade-api.gateway.uniswap.org/v1/wallet/encode_4337", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "x-api-key", "value": "{{x-api-key}}", "placement": "header" } }, "docs": "Builds and returns a fully-populated ERC-4337 v0.8 UserOperation for the given batch of calls. When a `paymasterUrl` is provided the endpoint attempts gas sponsorship via the paymaster; the response indicates whether sponsorship was granted and includes sponsor metadata when available." } ] } ], "bundled": true }