# Uniswap Encode wallet transactions API

Get Uniswap Encode wallet transactions data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Uniswap, pass parameters such as calls, walletAddress, and retrieve structured data including business payload, chain identifier, returned from field, returned to field, and returned value field for market reference and account inspection, and integration reference.

Documentation: https://openany.si/market/apis/uniswap/uniswap-encode-wallet-transactions/
API ID: fafb01d7-6663-48e4-8508-05fad52fd2a4
Provider: uniswap
Contract revision: 6
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/uniswap/v1/wallet/encode_7702
Page update time: 2026-12-03T02:49:49.640Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:49:49.640Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Uniswap Encode wallet transactions API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {
        "x-agent-info": {
          "type": "string",
          "description": "Optional attribution hint for AI-agent traffic; send it if an AI agent built or operates your integration. The value is a JSON object with up to three fields: `decision_origin` (required, exactly `autonomous` or `human_mediated`, case-sensitive), `integration_name` (optional string naming your integration, e.g. `my-trading-bot`), and `version` (optional string identifying your integration's version). Any other key is dropped, never rejected. The raw value must be at most 1024 bytes of printable US-ASCII (`0x20`-`0x7E`), so send non-ASCII text as JSON `\\u` escapes; `integration_name` and `version` are each limited to 256 UTF-16 code units and may not contain control characters, U+2028, U+2029, or U+FFFD. Send the header once: repeated header lines are joined with `, ` and the joined string is what gets parsed, so two complete objects fail as invalid JSON while a single object split across two lines still parses. The header is analytics-only and never affects the request: omitting it, sending it, or sending a value that fails these rules never changes the response status, body, or swap behavior. A value that fails to parse is dropped and reported by the `x-agent-info-status` response header. Never put a user ID, wallet address, email, session token, or API key in these fields.",
          "maxLength": 1024
        }
      }
    },
    "body": {
      "description": "Complete public Uniswap request body. Internal fields are prohibited. Source-only annotations are kept in the raw OpenAPI snapshot.",
      "properties": {
        "calls": {
          "items": {
            "properties": {
              "chainId": {
                "enum": [
                  1,
                  10,
                  56,
                  130,
                  137,
                  143,
                  196,
                  324,
                  480,
                  1868,
                  4217,
                  4326,
                  4663,
                  5042,
                  8453,
                  10143,
                  42161,
                  42220,
                  43114,
                  57073,
                  59144,
                  81457,
                  99901,
                  7777777,
                  1301,
                  84532,
                  11155111
                ],
                "type": "number"
              },
              "data": {
                "type": "string"
              },
              "from": {
                "pattern": "^0x[0-9a-fA-F]{40}$",
                "type": "string"
              },
              "gasLimit": {
                "type": "string"
              },
              "gasPrice": {
                "type": "string"
              },
              "maxFeePerGas": {
                "type": "string"
              },
              "maxPriorityFeePerGas": {
                "type": "string"
              },
              "to": {
                "pattern": "^(0x)?[0-9a-fA-F]{40}$",
                "type": "string"
              },
              "value": {
                "type": "string"
              }
            },
            "required": [
              "to",
              "from",
              "data",
              "value",
              "chainId"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "smartContractDelegationAddress": {
          "pattern": "^0x[0-9a-fA-F]{40}$",
          "type": "string"
        },
        "walletAddress": {
          "pattern": "^0x[0-9a-fA-F]{40}$",
          "type": "string"
        }
      },
      "required": [
        "calls",
        "smartContractDelegationAddress",
        "walletAddress"
      ],
      "type": "object"
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "encoded": {
      "type": "object",
      "properties": {
        "chainId": {
          "type": "integer"
        },
        "data": {
          "type": "string"
        },
        "from": {
          "type": "string"
        },
        "to": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      }
    },
    "requestId": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Recorded success 2026-10-30 (historical)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/uniswap/v1/wallet/encode_7702' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "calls": [
    {
      "chainId": 1,
      "data": "0xd0e30db0",
      "from": "0x1111111111111111111111111111111111111111",
      "to": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
      "value": "0x1"
    }
  ],
  "smartContractDelegationAddress": "0x000000005c84F8Fd50b21CAC312528A64437030e",
  "walletAddress": "0x1111111111111111111111111111111111111111"
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "encoded": {
    "chainId": 1,
    "data": "0x99e1d01600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000004d0e30db000000000000000000000000000000000000000000000000000000000",
    "from": "0x1111111111111111111111111111111111111111",
    "to": "0x1111111111111111111111111111111111111111",
    "value": "0x1"
  },
  "requestId": "68e26913-bab0-48b6-b39b-c6eccb1698d1"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
