ASIMOV module for fetching Arweave blockchain block data.
- Fetch Arweave blocks by height via
ar://mainnet/<height>URLs - Raw JSON output (default), newline-delimited JSONL (
--output jsonl), or JSON-LD (--output jsonld) - Uses the public
https://arweave.netgateway — no API key required
- Rust 1.85+ (2024 edition) if building from source code
cargo install --path .# Fetch block 1000000 on mainnet (raw JSON)
asimov-arweave-fetcher ar://mainnet/1000000
# Output as JSONL (single-line JSON)
asimov-arweave-fetcher --output jsonl ar://mainnet/1000000
# Output as JSON-LD (semantic/linked data)
asimov-arweave-fetcher --output jsonld ar://mainnet/1000000
# Fetch multiple blocks
asimov-arweave-fetcher ar://mainnet/1000000 ar://mainnet/1000001This module requires no configuration. It connects to the public Arweave gateway at https://arweave.net.
asimov-arweave-fetcher
Fetch Arweave blocks by URL
Usage: asimov-arweave-fetcher [OPTIONS] [URLS]...
Arguments:
[URLS]... Arweave block URLs to fetch (e.g. ar://mainnet/1000000)
Options:
-o, --output <FORMAT> Output format: json (default), jsonl, jsonld
-d, --debug Enable debugging output
--license Show license information
-v, --verbose... Enable verbose output (may be repeated for more verbosity)
-V, --version Print version information
-h, --help Print help
| URL | Description |
|---|---|
ar://mainnet/<height> |
Fetch block at <height> from Arweave mainnet |
git clone https://github.com/asimov-modules/asimov-arweave-module.git
cd asimov-arweave-module
cargo build