POST
/
wallet
/
encode_7702
curl --request POST \
  --url https://trade-api.gateway.uniswap.org/v1/wallet/encode_7702 \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "calls": [
    {
      "to": "<string>",
      "from": "<string>",
      "data": "<string>",
      "value": "<string>",
      "gasLimit": "<string>",
      "chainId": 1,
      "maxFeePerGas": "<string>",
      "maxPriorityFeePerGas": "<string>",
      "gasPrice": "<string>"
    }
  ],
  "smartContractDelegationAddress": "<string>"
}'
{
  "requestId": "<string>",
  "encoded": {
    "to": "<string>",
    "from": "<string>",
    "data": "<string>",
    "value": "<string>",
    "gasLimit": "<string>",
    "chainId": 1,
    "maxFeePerGas": "<string>",
    "maxPriorityFeePerGas": "<string>",
    "gasPrice": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json

Response

200
application/json

Encode 7702 wallet transactions successful.

The response is of type object.