Trigger
Place orders to be triggered if a price criteria is met.
Use the trigger service to place orders to be executed if price is above/below a pre-defined level.
There are two types of actions. An Execute
involves a modification to state, and a Query
merely fetches information from state.
You can interact with the trigger service by sending HTTP
requests to POST [TRIGGER_ENDPOINT]/execute
for executes or POST [TRIGGER_ENDPOINT]/query
for queries, alongside a JSON payload of the respective action.
HTTP
requests must set the Accept-Encoding
to include gzip
, br
or deflate
Endpoints
Testnet:
https://trigger.sepolia-test.vertexprotocol.com/v1
Mainnet:
https://trigger.prod.vertexprotocol.com/v1
Last updated