From 91afc45fa16eb3e1917edbf71e2e01dccc8997c1 Mon Sep 17 00:00:00 2001 From: wenyuanhust <873741746@qq.com> Date: Wed, 27 Dec 2023 14:38:50 +0800 Subject: [PATCH] docs: api doc typo (#1654) --- core/api/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/api/README.md b/core/api/README.md index 8782f4a20..dfa6a8a62 100644 --- a/core/api/README.md +++ b/core/api/README.md @@ -487,8 +487,8 @@ Response #### Method `eth_getTransactionByHash` -* `eth_getTransactionByHash(blockHash)` - * `blockHash`: [`H256`](#type-H256) +* `eth_getTransactionByHash(txHash)` + * `txHash`: [`H256`](#type-H256) * result: [`TransactionView`](#type-TransactionView) Returns the information about a transaction requested by transaction hash. @@ -496,7 +496,7 @@ Returns the information about a transaction requested by transaction hash. ##### Params -* `blockHash` - Hash of a transaction. +* `txHash` - Hash of a transaction. ##### Returns