Skip to content

Commit 796aa31

Browse files
docs(specs): update OpenRPC specifications from Daikon [Bot] (#899)
* docs(specs): update OpenRPC specifications from Daikon (batch 1/4) * docs(specs): update OpenRPC specifications from Daikon (batch 2/4) * docs(specs): update OpenRPC specifications from Daikon (batch 3/4) * docs(specs): update OpenRPC specifications from Daikon (batch 4/4) * docs(api-overview): update chain APIs overview from Daikon (batch 1/5) * docs(api-overview): update chain APIs overview from Daikon (batch 2/5) * docs(api-overview): update chain APIs overview from Daikon (batch 3/5) * docs(api-overview): update chain APIs overview from Daikon (batch 4/5) * docs(api-overview): update chain APIs overview from Daikon (batch 5/5) * fix: adds getRawTransactionByHash def --------- Co-authored-by: Dan Nolan <[email protected]>
1 parent 2130aaf commit 796aa31

File tree

67 files changed

+886
-707
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+886
-707
lines changed

fern/api-reference/node-api/chain-apis-overview.mdx

Lines changed: 730 additions & 707 deletions
Large diffs are not rendered by default.

src/openrpc/chains/_components/evm/methods.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,6 +1122,32 @@ components:
11221122
r: "0x84caf09aefbd5e539295acc67217563438a4efb224879b6855f56857fa2037d3"
11231123
s: "0x5e863be3829812c81439f0ae9d8ecb832b531d651fb234c848d1bf45e62be8b9"
11241124

1125+
eth_getRawTransactionByHash:
1126+
name: eth_getRawTransactionByHash
1127+
description: Returns the raw transaction data (RLP-encoded) for a transaction by its hash.
1128+
params:
1129+
- name: Transaction hash
1130+
required: true
1131+
description: The hash of the transaction to retrieve.
1132+
schema:
1133+
$ref: "./base-types.yaml#/components/schemas/hash32"
1134+
result:
1135+
name: Raw transaction data
1136+
description: The raw RLP-encoded transaction data as a hexadecimal string, or null if the transaction is not found.
1137+
schema:
1138+
oneOf:
1139+
- $ref: "./base-types.yaml#/components/schemas/notFound"
1140+
- title: Raw transaction data
1141+
$ref: "./base-types.yaml#/components/schemas/bytes"
1142+
examples:
1143+
- name: eth_getRawTransactionByHash example
1144+
params:
1145+
- name: Transaction hash
1146+
value: "0xa52be92809541220ee0aaaede6047d9a6c5d0cd96a517c854d944ee70a0ebb44"
1147+
result:
1148+
name: Raw transaction data
1149+
value: "0xf86c0185012a05f200825208940599d52c37544c07605f470e5e20c1b266de858889021dfc23e5c290008025a084ce48a415a40d664f87a6a05e8ec8e2fd2f07a68b06d3f20d999d7e8c7b12dfa0464c6e93bfa8e779ecd48284cf47d2d797dc611bbc6dbd7ab8f57ccba039acec"
1150+
11251151
eth_getTransactionByBlockHashAndIndex:
11261152
name: eth_getTransactionByBlockHashAndIndex
11271153
description: Returns information about a transaction by block hash and transaction index position.

src/openrpc/chains/abstract/abstract.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ methods:
2929
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterChanges
3030
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterLogs
3131
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getLogs
32+
- $ref: >-
33+
../_components/evm/methods.yaml#/components/methods/eth_getRawTransactionByHash
3234
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getStorageAt
3335
- $ref: >-
3436
../_components/evm/methods.yaml#/components/methods/eth_getTransactionByBlockHashAndIndex

src/openrpc/chains/adi/adi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ methods:
4040
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterChanges
4141
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterLogs
4242
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getLogs
43+
- $ref: >-
44+
../_components/evm/methods.yaml#/components/methods/eth_getRawTransactionByHash
4345
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getStorageAt
4446
- $ref: >-
4547
../_components/evm/methods.yaml#/components/methods/eth_getTransactionByBlockHashAndIndex

src/openrpc/chains/anime/anime.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ methods:
2929
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterChanges
3030
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterLogs
3131
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getLogs
32+
- $ref: >-
33+
../_components/evm/methods.yaml#/components/methods/eth_getRawTransactionByHash
3234
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getStorageAt
3335
- $ref: >-
3436
../_components/evm/methods.yaml#/components/methods/eth_getTransactionByBlockHashAndIndex

src/openrpc/chains/apechain/apechain.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ methods:
2929
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterChanges
3030
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterLogs
3131
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getLogs
32+
- $ref: >-
33+
../_components/evm/methods.yaml#/components/methods/eth_getRawTransactionByHash
3234
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getStorageAt
3335
- $ref: >-
3436
../_components/evm/methods.yaml#/components/methods/eth_getTransactionByBlockHashAndIndex

src/openrpc/chains/arb/arb.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ methods:
5252
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterChanges
5353
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterLogs
5454
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getLogs
55+
- $ref: >-
56+
../_components/evm/methods.yaml#/components/methods/eth_getRawTransactionByHash
5557
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getStorageAt
5658
- $ref: >-
5759
../_components/evm/methods.yaml#/components/methods/eth_getTransactionByBlockHashAndIndex

src/openrpc/chains/arbnova/arbnova.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ methods:
3333
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterChanges
3434
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterLogs
3535
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getLogs
36+
- $ref: >-
37+
../_components/evm/methods.yaml#/components/methods/eth_getRawTransactionByHash
3638
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getStorageAt
3739
- $ref: >-
3840
../_components/evm/methods.yaml#/components/methods/eth_getTransactionByBlockHashAndIndex

src/openrpc/chains/arc/arc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ methods:
5353
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterChanges
5454
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterLogs
5555
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getLogs
56+
- $ref: >-
57+
../_components/evm/methods.yaml#/components/methods/eth_getRawTransactionByHash
5658
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getStorageAt
5759
- $ref: >-
5860
../_components/evm/methods.yaml#/components/methods/eth_getTransactionByBlockHashAndIndex

src/openrpc/chains/astar/astar.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ methods:
3131
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterChanges
3232
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterLogs
3333
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getLogs
34+
- $ref: >-
35+
../_components/evm/methods.yaml#/components/methods/eth_getRawTransactionByHash
3436
- $ref: ../_components/evm/methods.yaml#/components/methods/eth_getStorageAt
3537
- $ref: >-
3638
../_components/evm/methods.yaml#/components/methods/eth_getTransactionByBlockHashAndIndex

0 commit comments

Comments
 (0)