v0.3.0
What's Changed
- Update to Raw Blocks & remove GraphQL by @DenisCarriere in #3
New Contributors
- @DenisCarriere made their first contribution in #3
Full Changelog: v0.2.0...v0.3.0
- removal of
./GraphQL
endpoint - refactor
./src/usage.ts
to be more generic to all endpoints - remove endpoints that don't have good indexing (would cause slow response & heavy database bytes reads)
- remove
schema.sql
&create_schema.sh
(these exists in Substreams Raw Blocks & Substreams SQL sink repo)- https://github.com/pinax-network/substreams-raw-blocks/blob/main/blocks/antelope/schema.sql
- https://github.com/pinax-network/substreams-sink-sql (should handle deploying to replicated cluster)
- refactor
UsageResponse
result to use same output response as Clickhouse
model UsageResponse<T> {
data: T[];
statistics: {
elapsed: float;
rows_read: safeint;
bytes_read: safeint;
};
rows: safeint;
rows_before_limit_at_least: safeint;
meta: {
name: string;
type: string;
}[];
}
Usage
Path | Description |
---|---|
GET /actions/tx_hash/{tx_hash} |
Actions by transaction |
GET /authorizations/tx_hash/{tx_hash} |
Authorizations by transaction |
GET /blocks/date/{date} |
Blocks by date |
GET /blocks/hash/{hash} |
Blocks by hash |
GET /blocks/number/{number} |
Blocks by number |
GET /db_ops/tx_hash/{tx_hash} |
Database operations by transaction |
GET /transactions/block_date/{block_date} |
Transactions by date |
GET /transactions/block_number/{block_number} |
Transactions by block |
GET /transactions/hash/{hash} |
Transactions by hash |