https://github.com/pinax-network/substreams-js-examples
Substreams Javascript examples
https://github.com/pinax-network/substreams-js-examples
javascript nodejs substreams thegraph
Last synced: 7 months ago
JSON representation
Substreams Javascript examples
- Host: GitHub
- URL: https://github.com/pinax-network/substreams-js-examples
- Owner: pinax-network
- License: mit
- Created: 2022-12-27T01:41:23.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-16T20:20:30.000Z (over 2 years ago)
- Last Synced: 2025-01-13T09:46:46.461Z (9 months ago)
- Topics: javascript, nodejs, substreams, thegraph
- Language: JavaScript
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Substreams Examples
## Requirements
- [Node.js (LTS or Current)](https://nodejs.org/en/)
## Quickstart
```bash
$ git clone https://github.com/EOS-Nation/substreams-js-examples.git
$ cd substreams-js-examples
$ npm install
$ npm startDownloading: https://eos.mypinata.cloud/ipfs/Qmdf7GT6jaT9NB3XPLvss8YxuHiSAC1PP1xm9UqLbuouYT
Download completed: https://eos.mypinata.cloud/ipfs/Qmdf7GT6jaT9NB3XPLvss8YxuHiSAC1PP1xm9UqLbuouYT
ActionTrace {
blockNum: 283000005,
trxId: 'ee944bf8bc0591291a93c88cb7113f3196cda021b9c65a62bfe9c0bbf447d674',
actionOrdinal: 3,
account: 'prospectorsg',
receiver: 'prospectorsg',
name: 'transfer',
jsonData: '{"from":"prospectorst","memo":"migration from wax/qepcpara1234","quantity":"0.6170 PGL","to":"lisrx13t21po"}',
timestamp: Timestamp { seconds: 1670679060n, nanos: 0 }
}
```