The owner address of the position; must be a checksum address.
chainId
number
required
The chain id of the network. Must be one of the chains supported by Aperture.
Example:
1
isLimitOrder
string
required
If true, only list triggers for limit order fulfillment; otherwise, list all triggers except for limit order fulfillment.
Request 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 GET 'https://api.aperture.finance/listTrigger?ownerAddr=&chainId=1&isLimitOrder='
Responses
🟢200Triggers listed successfully.
application/json
Body
triggers
array [object {8}]
required
The list of triggers.
taskId
number
required
The task id of the trigger in Aperture's automation service.
>= 0
nftId
string
required
The nonfungible token id of the position.
>= 1 characters
status
enum<string>
required
The status of the trigger.
Allowed values:
CREATEDSTARTEDCOMPLETEDINVALIDDELETED
lastFailedMessage
string
optional
If populated, the failure message of the last failed trigger.
limitOrderInfo
object
optional
condition
required
The condition which triggers the action. If a trigger is successfully created with a condition that is already met at the time of trigger creation, then the action is immediately eligible to be triggered.
action
required
expiration
integer
required
Unix timestamp in seconds when this trigger expires.