hive-network-infrastructure — Network Infrastructure
Read chain state — gas, blocks, receipts, logs, transaction status, supported
networks — and run RPC diagnostics with auditable, timestamped evidence.
Task toolset and identifiers
Toolset: network_infrastructure. Read
hive://toolsets/network_infrastructure before execution; it is authoritative
for the current output schema, material-call budget, phases, fallback
condition, and stop conditions.
- Required: chain/network.
- Optional: block number/hash, transaction hash, contract address, log
filter, account address, time window.
Ask for the exact chain plus transaction/block identifiers before status
checks — a transaction hash is not globally unique without chain context.
Before choosing endpoints, select exactly one matching entry from the exact
workflow's routes[]. Follow its ordered steps, use a fallback only under that
step's published condition, stop at four material calls, and preserve the
selected route_id in the typed result. The broad coverageCatalog is discovery
coverage, not an execution plan.
Procedure
- Confirm the chain/network id.
- Use
get_networks to confirm the supported-network list and the exact
network identifier. Otherwise call search_tools for gas, block,
transaction, receipt, log, supported-network, or RPC-diagnostic
capabilities.
- Call
get_api_endpoint_schema for each endpoint before calling it.
- Use current-state tools for gas and block questions; use
transaction/receipt/log tools only with exact identifiers.
- Report the block/slot/fetched time so the answer is auditable.
Bounded calls
- Bound log queries by block range and topics.
- Do not run broad chain scans for a single transaction question.
- Retry transient RPC failures once when appropriate.
Worked example
User: "Did my transaction go through? Hash is 0x… — I think it was on Base."
- Confirm the chain (Base) and the exact hash.
search_tools → {"query": "transaction receipt status base", "limit": 5}
get_api_endpoint_schema for the receipt/status endpoint returned, then
invoke_api_endpoint with schema-valid arguments.
- Report status, block number, gas used, and the fetched time. If the
receipt is missing, say whether that means pending, dropped, or wrong
chain — do not guess success.
Report template
## Summary
[Network or transaction state in one or two sentences.]
## Calls made
- Toolset: network_infrastructure
- Endpoint(s): [exact endpoint names]
- Identifiers: [chain, hash/block/address, filters]
## Evidence
- State: [block/slot, gas/fee, receipt/log/status]
- Provenance: [provider, fetched_at, observed_at/cache_age_ms, runtime status per call]
## Caveats
[Provider mismatch, stale block, rate limit, incomplete logs.]
## Next action
[Narrower log filter, alternate provider, or retry — only if needed.]
Gotchas
- A transaction hash is not globally unique without chain context.
- Logs require bounded block ranges.
- HTTP health does not prove provider data freshness.
Evidence receipt (required)
End every Hive-backed answer with a compact receipt built from the _hive
object on each material tool response:
provider, tool, fetched_at, observed_at, cache_age_ms, and runtime_status
receipt_id, receipt_version, server/build version, and SHA-256 input/result
digests when present (self-checks, not signatures)
source, cache_status, truncated, and any warnings
- canonical chain/entity identifiers plus block, slot, transaction, or query ids
present in provider data
- material provider disagreements and how they were handled
- checks that were unavailable, gated, stale, truncated, or intentionally not run
- a
claims[] citation from each material statement to exact receipt IDs
- one
coverage[] entry for every canonical evidence phase, with each gap explained
Never turn missing evidence into a clean result, silently merge conflicting
provider values, or omit a degraded/fallback call from the receipt.
observed_at is Hive's first-observation/original cache-population time, and
cache_age_ms: 0 only means newly retrieved by Hive. Use provider time, block,
slot, transaction, or candle close for source recency; if absent, mark it
unknown. Run validate_task_result before presenting the typed workflow result;
it checks structure but cannot authenticate an invented receipt.
Runtime status handling
Use ok, invalid_input, missing_key, plan_required, rate_limited,
degraded, and failing. For transient RPC failures, retry once or fall back to another
network read and state the limitation.
Hand-offs
- Wallet balances/holdings rather than chain state →
hive-wallet-investigation.
- Solana slots, priority fees, parsed transactions →
hive-solana-analysis.
- Gas context for a risky transaction → pair with
hive-security-risk.
1---2name: hive-network-infrastructure3description: Use this skill when the user asks about chain state or transaction plumbing — gas prices, blocks, transaction receipts and status ("did my tx go through"), event logs, supported networks, fee data, or RPC diagnostics. Use it whenever the answer needs current chain-level evidence. For wallet holdings use hive-wallet-investigation; for Solana slots/fees use hive-solana-analysis.4license: MIT5---67# hive-network-infrastructure — Network Infrastructure89Read chain state — gas, blocks, receipts, logs, transaction status, supported10networks — and run RPC diagnostics with auditable, timestamped evidence.1112## Task toolset and identifiers1314Toolset: `network_infrastructure`. Read15`hive://toolsets/network_infrastructure` before execution; it is authoritative16for the current output schema, material-call budget, phases, fallback17condition, and stop conditions.1819- Required: chain/network.20- Optional: block number/hash, transaction hash, contract address, log21 filter, account address, time window.2223Ask for the exact chain plus transaction/block identifiers before status24checks — a transaction hash is not globally unique without chain context.2526Before choosing endpoints, select exactly one matching entry from the exact27workflow's routes[]. Follow its ordered steps, use a fallback only under that28step's published condition, stop at four material calls, and preserve the29selected route_id in the typed result. The broad coverageCatalog is discovery30coverage, not an execution plan.3132## Procedure33341. Confirm the chain/network id.352. Use `get_networks` to confirm the supported-network list and the exact36 network identifier. Otherwise call `search_tools` for gas, block,37 transaction, receipt, log, supported-network, or RPC-diagnostic38 capabilities.393. Call `get_api_endpoint_schema` for each endpoint before calling it.404. Use current-state tools for gas and block questions; use41 transaction/receipt/log tools only with exact identifiers.425. Report the block/slot/fetched time so the answer is auditable.4344## Bounded calls4546- Bound log queries by block range and topics.47- Do not run broad chain scans for a single transaction question.48- Retry transient RPC failures once when appropriate.4950## Worked example5152User: "Did my transaction go through? Hash is 0x… — I think it was on Base."53541. Confirm the chain (Base) and the exact hash.552. `search_tools` → `{"query": "transaction receipt status base", "limit": 5}`563. `get_api_endpoint_schema` for the receipt/status endpoint returned, then57 `invoke_api_endpoint` with schema-valid arguments.584. Report status, block number, gas used, and the fetched time. If the59 receipt is missing, say whether that means pending, dropped, or wrong60 chain — do not guess success.6162## Report template6364```markdown65## Summary66[Network or transaction state in one or two sentences.]6768## Calls made69- Toolset: network_infrastructure70- Endpoint(s): [exact endpoint names]71- Identifiers: [chain, hash/block/address, filters]7273## Evidence74- State: [block/slot, gas/fee, receipt/log/status]75- Provenance: [provider, fetched_at, observed_at/cache_age_ms, runtime status per call]7677## Caveats78[Provider mismatch, stale block, rate limit, incomplete logs.]7980## Next action81[Narrower log filter, alternate provider, or retry — only if needed.]82```8384## Gotchas8586- A transaction hash is not globally unique without chain context.87- Logs require bounded block ranges.88- HTTP health does not prove provider data freshness.8990## Evidence receipt (required)9192End every Hive-backed answer with a compact receipt built from the `_hive`93object on each material tool response:9495- `provider`, `tool`, `fetched_at`, `observed_at`, `cache_age_ms`, and `runtime_status`96- `receipt_id`, `receipt_version`, server/build version, and SHA-256 input/result97 digests when present (self-checks, not signatures)98- `source`, `cache_status`, `truncated`, and any warnings99- canonical chain/entity identifiers plus block, slot, transaction, or query ids100 present in provider data101- material provider disagreements and how they were handled102- checks that were unavailable, gated, stale, truncated, or intentionally not run103- a `claims[]` citation from each material statement to exact receipt IDs104- one `coverage[]` entry for every canonical evidence phase, with each gap explained105106Never turn missing evidence into a clean result, silently merge conflicting107provider values, or omit a degraded/fallback call from the receipt.108`observed_at` is Hive's first-observation/original cache-population time, and109`cache_age_ms: 0` only means newly retrieved by Hive. Use provider time, block,110slot, transaction, or candle close for source recency; if absent, mark it111unknown. Run `validate_task_result` before presenting the typed workflow result;112it checks structure but cannot authenticate an invented receipt.113114## Runtime status handling115116Use `ok`, `invalid_input`, `missing_key`, `plan_required`, `rate_limited`,117`degraded`, and `failing`. For transient RPC failures, retry once or fall back to another118network read and state the limitation.119120## Hand-offs121122- Wallet balances/holdings rather than chain state → `hive-wallet-investigation`.123- Solana slots, priority fees, parsed transactions → `hive-solana-analysis`.124- Gas context for a risky transaction → pair with `hive-security-risk`.