Skip to content

Commit cd8fd2b

Browse files
majectymergify[bot]
authored andcommitted
Fix typo "chain_getTransactionSigner"
1 parent 896a9ce commit cd8fd2b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/JSON-RPC.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ When `Transaction` is included in any response, there will be an additional fiel
315315
* [chain_getBlockByHash](#chain_getblockbyhash)
316316
* [chain_getBlockTransactionCountByHash](#chain_getblocktransactioncountbyhash)
317317
* [chain_getTransaction](#chain_gettransaction)
318-
* [chain_getTrnsactionSigner](#chain_gettrnsactionsigner)
318+
* [chain_getTransactionSigner](#chain_gettransactionsigner)
319319
* [chain_containsTransaction](#chain_containstransaction)
320320
* [chain_getTransactionByTracker](#chain_gettransactionbytracker)
321321
* [chain_getAssetSchemeByTracker](#chain_getassetschemebytracker)
@@ -760,7 +760,7 @@ Errors: `Invalid Params`
760760

761761
[Back to **List of methods**](#list-of-methods)
762762

763-
## chain_getTrnsactionSigner
763+
## chain_getTransactionSigner
764764
Returns the signer of the given transaction hash.
765765

766766
It returns `null` if the transaction hash doesn't exist in the chain.
@@ -775,7 +775,7 @@ It returns `null` if the transaction hash doesn't exist in the chain.
775775
```
776776
curl \
777777
-H 'Content-Type: application/json' \
778-
-d '{"jsonrpc": "2.0", "method": "chain_getTrnsactionSigner", "params": ["0xdb7c705d02e8961880783b4cb3dc051c41e551ade244bed5521901d8de190fc6"], "id": "who-is-authors"}' \
778+
-d '{"jsonrpc": "2.0", "method": "chain_getTransactionSigner", "params": ["0xdb7c705d02e8961880783b4cb3dc051c41e551ade244bed5521901d8de190fc6"], "id": "who-is-authors"}' \
779779
localhost:8080
780780
```
781781

0 commit comments

Comments
 (0)