Skip to content

v0.1.0

Compare
Choose a tag to compare
@DenisCarriere DenisCarriere released this 26 Sep 18:53
· 12 commits to main since this release

Clock Substream

Build Status Version License

Block ID, Number & Timestamp

Quickstart

$ gh repo clone pinax-network/substreams-clock
$ cd substreams-clock
$ make
$ make gui

Releases .spkg

Mermaid graph

graph TD;
  graph_out[map: graph_out];
  sf.substreams.v1.Clock[source: sf.substreams.v1.Clock] --> graph_out;

Map Outputs

graph_out

{
  "entityChanges": [
    {
      "entity": "Clock",
      "id": "542d7e9a07a94d93879a51452d6f077a461d311018f0b03377b2d877bb72cdf0",
      "ordinal": "0",
      "operation": "OPERATION_CREATE",
      "fields": [
        {
          "name": "number",
          "newValue": {
            "bigint": "18221781"
          }
        },
        {
          "name": "seconds",
          "newValue": {
            "bigint": "1695753443"
          }
        },
        {
          "name": "nanos",
          "newValue": {
            "bigint": "0"
          }
        },
        {
          "name": "timestamp",
          "newValue": {
            "string": "2023-09-26T18:37:23Z"
          }
        }
      ]
    }
  ]
}

Modules

Package name: clock
Version: v0.1.0
Doc: Block ID, number & timestamp
Modules:
----
Name: graph_out
Initial block: 0
Kind: map
Output Type: proto:sf.substreams.sink.entity.v1.EntityChanges
Hash: d2913e1f3c4966817a7cdbbd49db407a1a81ebc9