Skip to content

nlipartiia-hacken/subquery-croncat

 
 

Repository files navigation

Getting Started

For quick start you may use

yarn all

1. Install dependencies

yarn

2. Generate types

yarn codegen

3. Build

yarn build

4. Might need to remove data from db

rm -r .data/postgres

5. Run locally

yarn start:docker

Query

Below there are some exapmles of query. See the full list in docs.

query {
 _metadata {
    lastProcessedHeight
    lastProcessedTimestamp
    targetHeight
    chain
    indexerHealthy
  }

  createTasks {
    nodes {
      blockHeight
      sender
      interval
      boundary
      stopOnFail
      actions
      rules
    }
    totalCount
  }

  registerAgents {
    nodes {
      blockHeight
      payableAccountId
      sender
    }
    totalCount
  }

  checkInAgents {
    nodes {
      blockHeight
      sender
    }
    totalCount
  }

  updateAgents {
    nodes {
      blockHeight
      payableAccountId
    }
  }

  proxyCalls {
    nodes {
      blockHeight
    }
  }
  withdrawRewards {
    nodes {
      blockHeight
    }
  }

  registerAgents {
    nodes {
      blockHeight
    }
  }

  moveBalances {
    nodes {
      blockHeight
    }
  }

  updateSettings {
    nodes {
      blockHeight
      agentFeeDenom
      agentFeeAmount
    }
  }

  refillTaskBalances {
    nodes {
      blockHeight
      taskHash
    }
  }

  removeTasks {
    nodes {
      blockHeight
      taskHash
    }
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%