To install dependencies:
bun installTo run:
cp .env.example .env
bun run src/index.ts validate \
--method "starknet_getBlockWithReceipts" \
--params '[{"block_number": 1586569}]'SPEC_URL should be a direct JSON URL (e.g. raw.githubusercontent.com).
Optional headers:
bun run src/index.ts validate \
--method "starknet_getBlockWithReceipts" \
--params '[{"block_number": 1586569}]' \
-H "x-api-key: abc"Debug output (prints small details and writes strpc-debug.json):
bun run src/index.ts validate \
--method "starknet_getBlockWithReceipts" \
--params '[{"block_number": 1586569}]' \
--debug"This project was created using bun init in bun v1.3.6. Bun is a fast all-in-one JavaScript runtime.