Skip to content

v3.19.0

Latest

Choose a tag to compare

@DZakh DZakh released this 26 Nov 11:58
· 1 commit to main since this release
2a43a57

Transaction Handler

Welcome indexer.onTransaction: a handler that runs on every mined transaction a filter matches, whether or not it emitted a log. Perfect for tracking users' activity across the whole blockchain.

indexer.onTransaction(
  {
    name: "TreasuryActivity",
    where: ({ chain }) => chain.id === 1 && { transaction: { from: ["0x1234...abcd"] } },
    fields: { transaction: ["hash", "input", "value", "status"], block: ["timestamp"] },
  },
  async ({ transaction, context }) => { /* transaction.block.timestamp ... */ },
);

By @DZakh in #1858

Other Fixes & Improvements

  • Make ClickHouse use Decimal256 instead of String for numbers bounded at 39..76 digits by @DZakh in #1857
  • Internal tests improvements by @DZakh in #1866, #1883
  • Completely pause requests to sources that stopped following its chain by @DZakh in #1860
  • Update docs link in config.yaml schema description by @moose-code in #1877
  • Reject duplicate enum values in schema.graphql by @moose-code in #1873
  • Fix envio init contract-import with bytes param in events by @moose-code in #1875
  • Fix config examples in the factory, multichain and wildcard skills by @moose-code in #1876

Full Changelog: v3.18.0...v3.19.0