Aperture API for UniV3 Automation
    Aperture API for UniV3 Automation
    • Aperture Finance UniV3 Automation API
    • /checkPositionApproval
      GET
    • /updatePositionPermit
      POST
    • /createTrigger
      POST
    • /listTrigger
      GET
    • /updateTrigger
      POST
    • /deleteTrigger
      POST
    • /checkUserLimit
      GET

      /updateTrigger

      Prod Env
      https://api.aperture.finance
      Prod Env
      https://api.aperture.finance
      POST
      /updateTrigger

      Request

      Body Params application/json

      Example
      {
          "payloadSignature": "string",
          "payload": {
              "ownerAddr": "string",
              "chainId": 1,
              "taskId": 0,
              "action": {
                  "type": "Close",
                  "slippage": 0,
                  "maxGasProportion": 1
              },
              "condition": {
                  "type": "Time",
                  "timeAfterEpochSec": 1
              },
              "expiration": 1
          }
      }

      Request Code Samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'https://api.aperture.finance/updateTrigger' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "payloadSignature": "string",
          "payload": {
              "ownerAddr": "string",
              "chainId": 1,
              "taskId": 0,
              "action": {
                  "type": "Close",
                  "slippage": 0,
                  "maxGasProportion": 1
              },
              "condition": {
                  "type": "Time",
                  "timeAfterEpochSec": 1
              },
              "expiration": 1
          }
      }'

      Responses

      🟢200The trigger has been successfully updated.
      application/json
      Body

      Example
      {}
      🟠400Bad Request
      🔴500Internal Server Error
      Modified at 2023-07-03 18:34:25
      Previous
      /listTrigger
      Next
      /deleteTrigger
      Built with