Skip to content

Commit a269a53

Browse files
authored
use values that return non-null response
1 parent 1022068 commit a269a53

File tree

1 file changed

+3
-3
lines changed
  • src/content/developers/docs/apis/json-rpc

1 file changed

+3
-3
lines changed

src/content/developers/docs/apis/json-rpc/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,8 +1245,8 @@ Returns information about a transaction by block number and transaction index po
12451245
12461246
```js
12471247
params: [
1248-
"0x29c", // 668
1249-
"0x0", // 0
1248+
"0x9c47cf", // 10241999
1249+
"0x24", // 36
12501250
]
12511251
```
12521252
@@ -1257,7 +1257,7 @@ See [eth_getTransactionByHash](#eth_gettransactionbyhash)
12571257
12581258
```js
12591259
// Request
1260-
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getTransactionByBlockNumberAndIndex","params":["0x29c", "0x0"],"id":1}'
1260+
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getTransactionByBlockNumberAndIndex","params":["0x29c", "0x24"],"id":1}'
12611261
```
12621262
12631263
Result see [eth_getTransactionByHash](#eth_gettransactionbyhash)

0 commit comments

Comments
 (0)