Query messages
The following messages are used for querying Warp jobs, conditions, queries, and accounts.
Source Code
The source for Warp can be found on Github:
- Webapp: https://github.com/terra-money/warp-web-app
- Contracts: https://github.com/terra-money/warp-contracts
- SDK: https://github.com/terra-money/warp-sdk
Queries
QueryJobMsg
Returns the job information from a given job id.
QueryJobsMsg
Queries and returns job information based on:
- single or multiple job id's
- Active/inactive jobs
- a job's owner
- a job's name
- a job's status
- jobs specified by a status and a boolean.
- all job's created after a specific time or block height.
At least one of the previous fields must be specified to return a valid response.
Response sizes can be limited using limit.
SimulateQueryMsg
Simulates a query given a query request message.
QueryAccountMsg
Queries an account by owner. Returns the owner and account addresses.
QueryAccountsMsg
Queries accounts. Response sizes can be limited using limit.
QueryConfigMsg
Queries the config. The response is the configuration for the Warp contract.
QueryJobMsg
Returns the job information from a given job id.
QueryJobsMsg
Queries and returns job information based on:
- single or multiple job id's
- Active/inactive jobs
- a job's owner
- a job's name
- a job's status
- jobs specified by a status and a boolean.
- all job's created after a specific time or block height.
At least one of the previous fields must be specified to return a valid response.
Response sizes can be limited using limit.
SimulateQueryMsg
Simulates a query given a query request message.
QueryAccountMsg
Queries an account by owner. Returns the owner and account addresses.
QueryAccountsMsg
Queries accounts. Response sizes can be limited using limit.
QueryConfigMsg
Queries the config. The response is the configuration for the Warp contract.