/createTrigger
Prod Env
Prod Env
POST
/createTrigger
Request
Body Params application/json
payloadSignature
string
required
>= 1 characters
payload
object
required
ownerAddr
string
required
>= 1 characters
chainId
enum<number>
required
Allowed values:
1421615421613
Example:
1
nftId
string
required
>= 1 characters
action
required
condition
required
expiration
integer
required
> 0
permitInfo
object
optional
permitInfo
should be obtained from the user and populated here.signature
string
required
>= 1 characters
deadline
string
required
>= 1 characters
Example
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 POST 'https://api.aperture.finance/createTrigger' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200Trigger created successfully.
application/json
Body
object {0}
Example
{}
🟠400Bad Request
🔴500Internal Server Error
Modified at 2023-07-03 18:34:25