Skip to content

Commit f095469

Browse files
committed
updated rpc endpoints
1 parent 389830c commit f095469

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/rpc-endpoints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ Get number of blocks signed by signer during a given reward cycle
579579

580580
Returns a non-negative integer
581581

582-
### GET /v3/transactions/[Transaction ID]
582+
### GET /v3/transaction/[Transaction ID]
583583

584584
Returns the index_block_hash, the transaction body (as hex) and the result given the TXID.
585585

docs/rpc/openapi.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -866,13 +866,13 @@ paths:
866866
schema:
867867
type: integer
868868
example: 7
869-
/v3/transactions/{txid}:
869+
/v3/transaction/{txid}:
870870
post:
871871
summary: Returns index_block_hash, transaction body and result given a TXID
872872
tags:
873873
- Transactions
874874
description: Get a JSON with the index_block_hash, the Transaction body as hex and the result.
875-
operationId: get_transactions
875+
operationId: get_transaction
876876
parameters:
877877
- name: txid
878878
in: path
@@ -886,7 +886,7 @@ paths:
886886
content:
887887
application/json:
888888
example:
889-
$ref: ./api/core-node/get_transactions.json
889+
$ref: ./api/core-node/get_transaction.json
890890
"404":
891891
description: Transaction not found
892892
content:

0 commit comments

Comments
 (0)