It listens to all new liability events and stores them into a database. Provides GraphQL API for data requests.
{
liabilities(model: "QmaTLSFvFh2gTv5eUDfpE1YZjiwuPwSq9RpSG9kSJ6Y9W9", limit: 1) {
id
model
lighthouse
}
}
Liabilities' arguments:
model
- optional, model hashlimit
- optional, how many results. If not provided, returns all records