Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

Commit 58c88af

Browse files
committed
fixing readme
1 parent a134f11 commit 58c88af

2 files changed

Lines changed: 57 additions & 55 deletions

File tree

.github/workflows/redbit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
# Prepare formatted benchmark lines
102102
HEADER=$(printf "%-45s %10s\n" "function" "ops/s")
103103
BODY=$(tail -n +2 benchmarks.csv | awk -F, '{ printf "%-45s %10s\n", $1, $2 }')
104-
FORMATTED_BENCH="$HEADER\n$BODY"
104+
FORMATTED_BENCH="$HEADER\n-------------------------------------------------------------\n$BODY"
105105
106106
# Escape double quotes and backslashes
107107
ESCAPED_BENCH=$(echo -e "$FORMATTED_BENCH" | sed 's/\\/\\\\/g; s/"/\\"/g')

README.md

Lines changed: 56 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -307,63 +307,65 @@ BlockHeader__get 280582
307307

308308
### Http Endpoints generated
309309
```
310-
Endpoint /block/id/{value}
311-
Endpoint /block?take=
312-
Endpoint /block?first=
313-
Endpoint /block?last=
314-
Endpoint /block/id/{value}
315-
Endpoint /block/id?from=&until=
316-
Endpoint /block/{value}/header
317-
Endpoint /block/{value}/transactions
310+
endpoint operation description
311+
-------------------------------------------------------------
312+
GET:/block/id/{value} block_get
313+
GET:/block?take= block_take
314+
GET:/block?first= block_first
315+
GET:/block?last= block_last
316+
HEAD:/block/id/{value} block_exists
317+
GET:/block/id?from=&until= block_range
318+
GET:/block/{value}/header block_get_header
319+
GET:/block/{value}/transactions block_get_transactions
318320
319-
Endpoint /blockheader/id/{value}
320-
Endpoint /blockheader?take=
321-
Endpoint /blockheader?first=
322-
Endpoint /blockheader?last=
323-
Endpoint /blockheader/id/{value}
324-
Endpoint /blockheader/id?from=&until=
325-
Endpoint /blockheader/hash/{value}
326-
Endpoint /blockheader/timestamp/{value}
327-
Endpoint /blockheader/timestamp?from=&until=
328-
Endpoint /blockheader/merkle_root/{value}
321+
GET:/blockheader/id/{value} blockheader_get
322+
GET:/blockheader?take= blockheader_take
323+
GET:/blockheader?first= blockheader_first
324+
GET:/blockheader?last= blockheader_last
325+
HEAD:/blockheader/id/{value} blockheader_exists
326+
GET:/blockheader/id?from=&until= blockheader_range
327+
GET:/blockheader/hash/{value} blockheader_get_by_hash
328+
GET:/blockheader/timestamp/{value} blockheader_get_by_timestamp
329+
GET:/blockheader/timestamp?from=&until= blockheader_range_by_timestamp
330+
GET:/blockheader/merkle_root/{value} blockheader_get_by_merkle_root
329331
330-
Endpoint /transaction/id/{value}
331-
Endpoint /transaction?take=
332-
Endpoint /transaction?first=
333-
Endpoint /transaction?last=
334-
Endpoint /transaction/id/{value}
335-
Endpoint /transaction/id/{value}/parent_pk
336-
Endpoint /transaction/id?from=&until=
337-
Endpoint /transaction/hash/{value}
338-
Endpoint /transaction/{value}/utxos
339-
Endpoint /transaction/{value}/inputs
332+
GET:/transaction/id/{value} transaction_get
333+
GET:/transaction?take= transaction_take
334+
GET:/transaction?first= transaction_first
335+
GET:/transaction?last= transaction_last
336+
HEAD:/transaction/id/{value} transaction_exists
337+
GET:/transaction/id/{value}/parent_pk transaction_parent_pk
338+
GET:/transaction/id?from=&until= transaction_range
339+
GET:/transaction/hash/{value} transaction_get_by_hash
340+
GET:/transaction/{value}/utxos transaction_get_utxos
341+
GET:/transaction/{value}/inputs transaction_get_inputs
340342
341-
Endpoint /utxo/id/{value}
342-
Endpoint /utxo?take=
343-
Endpoint /utxo?first=
344-
Endpoint /utxo?last=
345-
Endpoint /utxo/id/{value}
346-
Endpoint /utxo/id/{value}/parent_pk
347-
Endpoint /utxo/id?from=&until=
348-
Endpoint /utxo/datum/{value}
349-
Endpoint /utxo/address/{value}
350-
Endpoint /utxo/{value}/assets
343+
GET:/utxo/id/{value} utxo_get
344+
GET:/utxo?take= utxo_take
345+
GET:/utxo?first= utxo_first
346+
GET:/utxo?last= utxo_last
347+
HEAD:/utxo/id/{value} utxo_exists
348+
GET:/utxo/id/{value}/parent_pk utxo_parent_pk
349+
GET:/utxo/id?from=&until= utxo_range
350+
GET:/utxo/datum/{value} utxo_get_by_datum
351+
GET:/utxo/address/{value} utxo_get_by_address
352+
GET:/utxo/{value}/assets utxo_get_assets
351353
352-
Endpoint /inputref/id/{value}
353-
Endpoint /inputref?take=
354-
Endpoint /inputref?first=
355-
Endpoint /inputref?last=
356-
Endpoint /inputref/id/{value}
357-
Endpoint /inputref/id/{value}/parent_pk
358-
Endpoint /inputref/id?from=&until=
354+
GET:/inputref/id/{value} inputref_get
355+
GET:/inputref?take= inputref_take
356+
GET:/inputref?first= inputref_first
357+
GET:/inputref?last= inputref_last
358+
HEAD:/inputref/id/{value} inputref_exists
359+
GET:/inputref/id/{value}/parent_pk inputref_parent_pk
360+
GET:/inputref/id?from=&until= inputref_range
359361
360-
Endpoint /asset/id/{value}
361-
Endpoint /asset?take=
362-
Endpoint /asset?first=
363-
Endpoint /asset?last=
364-
Endpoint /asset/id/{value}
365-
Endpoint /asset/id/{value}/parent_pk
366-
Endpoint /asset/id?from=&until=
367-
Endpoint /asset/name/{value}
368-
Endpoint /asset/policy_id/{value}
362+
GET:/asset/id/{value} asset_get
363+
GET:/asset?take= asset_take
364+
GET:/asset?first= asset_first
365+
GET:/asset?last= asset_last
366+
HEAD:/asset/id/{value} asset_exists
367+
GET:/asset/id/{value}/parent_pk asset_parent_pk
368+
GET:/asset/id?from=&until= asset_range
369+
GET:/asset/name/{value} asset_get_by_name
370+
GET:/asset/policy_id/{value} asset_get_by_policy_id
369371
```

0 commit comments

Comments
 (0)