lotus/api
Mikers 8f94aad42e
feat: Add trace transaction API (#12075)
* changelog for trace_transaction

* adding boilerplate for trace_transaction to /api/

* add eth trace transaction proxy and mock api

* trace tx boilerplate

* trace transaction implementation - under construction

* fix types for eth trace transaction

* trace_transaction implemented

* golint and handle transaction not found

* gofmt

* ran make docsgen

* pointer bugfix  and make docsgen

* tx.BlockNumber is nil when the transaction is still in the mpool/pending and there is no trace for pending transactions

* check eth trace transaction happy case and two error cases - tx not found and tx pending in itests

* simplify error msg check for gh action fail

---------

Co-authored-by: Michael Seiler <michaelseiler@Michaels-Laptop.local>
2024-06-07 14:14:34 -04:00
..
client Drop curio-related sources 2024-05-28 13:28:00 +02:00
docgen cleanup: miner: remove markets and deal-making from Lotus Miner (#12005) 2024-06-05 18:14:50 +04:00
docgen-openrpc feat!: build: separate miner and node version strings 2024-05-30 10:02:43 +10:00
mocks feat: Add trace transaction API (#12075) 2024-06-07 14:14:34 -04:00
types feat: gateway: eth_ api support 2023-01-13 20:04:41 +01:00
v0api cleanup: miner: remove markets and deal-making from Lotus Miner (#12005) 2024-06-05 18:14:50 +04:00
v1api Drop curio-related sources 2024-05-28 13:28:00 +02:00
api_common.go feat: Add node uptime rpc / output in info command 2022-10-11 10:11:09 +02:00
api_errors.go fix: itest: check for closed connection 2022-09-27 15:34:01 +00:00
api_full.go feat: Add trace transaction API (#12075) 2024-06-07 14:14:34 -04:00
api_gateway.go feat: Add trace transaction API (#12075) 2024-06-07 14:14:34 -04:00
api_net.go return all the public addresses in NatInfo 2023-05-10 11:54:48 +03:00
api_storage.go cleanup: miner: remove markets and deal-making from Lotus Miner (#12005) 2024-06-05 18:14:50 +04:00
api_test.go address magik supernit 2022-09-27 15:34:01 +00:00
api_wallet.go lotus-wallet: Support permissioned api 2021-05-31 13:56:35 +02:00
api_worker.go sealing: Split unsealed cleanup from Finalize 2022-11-23 18:57:16 +01:00
cbor_gen.go chore: Merge nv22 into master (#11699) 2024-03-12 10:33:58 +01:00
checkstatuscode_string.go implement MessagePool.CheckMessages 2021-05-07 15:30:04 +02:00
eth_aliases.go feat: Add trace transaction API (#12075) 2024-06-07 14:14:34 -04:00
miner_subsystems.go cleanup: miner: remove markets and deal-making from Lotus Miner (#12005) 2024-06-05 18:14:50 +04:00
permissioned.go lotus-provider: fix RPC construction for real real 2023-12-04 14:15:58 +01:00
proxy_gen.go feat: Add trace transaction API (#12075) 2024-06-07 14:14:34 -04:00
proxy_util_test.go fix make gen 2022-08-29 16:25:30 +02:00
proxy_util.go api: Separate the Net interface from Common 2021-07-15 11:41:30 +02:00
README.md api: Add basic package readme 2021-03-25 18:00:29 +01:00
types.go cleanup: miner: remove markets and deal-making from Lotus Miner (#12005) 2024-06-05 18:14:50 +04:00
utils.go Update to specs v0.9.6 2020-09-07 15:48:41 -04:00
version.go Drop curio-related sources 2024-05-28 13:28:00 +02:00
wrap.go api: Fix Wrap for nested proxy structs 2021-06-28 19:00:37 +02:00

Lotus API

This package contains all lotus API definitions. Interfaces defined here are exposed as JsonRPC 2.0 endpoints by lotus programs.

Versions

File Alias File Interface Exposed by Version HTTP Endpoint Status Docs
api_common.go v0api/latest.go Common lotus; lotus-miner v0 /rpc/v0 Latest, Stable Methods
api_full.go v1api/latest.go FullNode lotus v1 /rpc/v1 Latest, Work in progress Methods
api_storage.go v0api/latest.go StorageMiner lotus-miner v0 /rpc/v0 Latest, Stable Methods
api_worker.go v0api/latest.go Worker lotus-worker v0 /rpc/v0 Latest, Stable Methods
v0api/full.go FullNode lotus v0 /rpc/v0 Stable Methods