Skip to content

Commit bf8538c

Browse files
HIP-1340: Update mirror node REST endpoint (#1443)
Signed-off-by: Bilyana Gospodinova <bilyana.gospodinova14@gmail.com>
1 parent 74010f0 commit bf8538c

1 file changed

Lines changed: 5 additions & 39 deletions

File tree

HIP/hip-1340.md

Lines changed: 5 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ status: Last Call
1313
last-call-date-time: 2026-02-09T07:00:00Z
1414
discussions-to: https://github.com/hiero-ledger/hiero-improvement-proposals/pull/1340
1515
created: 2025-11-13
16-
updated: 2026-01-26
16+
updated: 2026-04-01
1717
---
1818

1919
## Abstract
@@ -391,41 +391,6 @@ Response format:
391391

392392
#### Contracts API
393393

394-
##### `GET /api/v1/contracts/{contractIdOrAddress}/results` endpoint
395-
396-
This endpoint will include results for EOAs as well. An additional field called `authorization_list` will be included.
397-
398-
Response format:
399-
400-
```
401-
{
402-
"results": [
403-
{
404-
"address": "0x4af07974dae3cb2daf46fb80e8544d45138ee54f",
405-
"amount": 0,
406-
"authorization_list": [
407-
{
408-
"chain_id": "0x01",
409-
"address": "0x1111111111111111111111111111111111111111",
410-
"nonce": 5,
411-
"y_parity": 1,
412-
"r": "0x2222222222222222222222222222222222222222222222222222222222222222",
413-
"s": "0x3333333333333333333333333333333333333333333333333333333333333333"
414-
},
415-
...
416-
],
417-
...
418-
"to": "0x00000000000000000000000000000000007242d6",
419-
"hash": "0xe449dc260ecc1b8bf8e45bbbc14211f7e2fbc9de6b53e62d873e8b2cb95c13eb"
420-
},
421-
...
422-
],
423-
"links": {
424-
"next": null
425-
}
426-
}
427-
```
428-
429394
##### `GET /api/v1/contracts/{contractIdOrAddress}/results/{timestamp}` endpoint
430395

431396
This endpoint will include results for EOAs as well. An additional field called `authorization_list` will be included.
@@ -438,7 +403,7 @@ Response format:
438403
"amount": 0,
439404
"authorization_list": [
440405
{
441-
"chain_id": "0x01",
406+
"chain_id": "0x127",
442407
"address": "0x1111111111111111111111111111111111111111",
443408
"nonce": 5,
444409
"y_parity": 1,
@@ -467,7 +432,7 @@ Response format:
467432
"amount": 0,
468433
"authorization_list": [
469434
{
470-
"chain_id": "0x01",
435+
"chain_id": "0x127",
471436
"address": "0x1111111111111111111111111111111111111111",
472437
"nonce": 5,
473438
"y_parity": 1,
@@ -500,7 +465,7 @@ Response format:
500465
"amount": 0,
501466
"authorization_list": [
502467
{
503-
"chain_id": "0x01",
468+
"chain_id": "0x127",
504469
"address": "0x1111111111111111111111111111111111111111",
505470
"nonce": 5,
506471
"y_parity": 1,
@@ -520,6 +485,7 @@ Response format:
520485

521486
The following endpoints will contain results for EOAs as well. No change in the response format will be made.
522487

488+
- `GET /api/v1/contracts/{contractIdOrAddress}/results`
523489
- `GET /api/v1/contracts/{contractIdOrAddress}/results/logs`
524490
- `GET /api/v1/contracts/{contractIdOrAddress}/state`
525491
- `GET /api/v1/contracts/results/{transactionIdOrHash}/actions`

0 commit comments

Comments
 (0)