lotus/api
2021-04-16 15:15:38 -07:00
..
client Fix tests 2021-04-06 12:24:58 +02:00
docgen Merge apistruct with the api package 2021-03-25 15:10:08 +01:00
docgen-openrpc Merge apistruct with the api package 2021-03-25 15:10:08 +01:00
mocks Make gateway work with v1 api 2021-04-05 13:47:10 +02:00
test Fix tests 2021-04-06 12:24:58 +02:00
types API proxy struct codegen (#5854) 2021-03-23 13:42:56 +01:00
v0api Fix tests 2021-04-06 12:24:58 +02:00
v1api Merge apistruct with the api package 2021-03-25 15:10:08 +01:00
api_common.go API proxy struct codegen (#5854) 2021-03-23 13:42:56 +01:00
api_full.go polish(api): expose filReserveDisbursed via CirculatingSupply API 2021-04-16 15:15:38 -07:00
api_gateway.go Make gateway work with v1 api 2021-04-05 13:47:10 +02:00
api_storage.go fix lint 2021-03-29 10:31:31 +08:00
api_test.go Merge apistruct with the api package 2021-03-25 15:10:08 +01:00
api_wallet.go API proxy struct codegen (#5854) 2021-03-23 13:42:56 +01:00
api_worker.go API proxy struct codegen (#5854) 2021-03-23 13:42:56 +01:00
cbor_gen.go Update markets, cbor-gen with soft map decoding 2021-02-19 20:11:43 +01:00
permissioned.go Merge apistruct with the api package 2021-03-25 15:10:08 +01:00
proxy_gen.go Make gateway work with v1 api 2021-04-05 13:47:10 +02:00
README.md api: Add basic package readme 2021-03-25 18:00:29 +01:00
types.go include Stages and DealStages only on ClientDealInfo, not on ClientListDeals 2021-04-01 17:08:01 +03:00
utils.go Update to specs v0.9.6 2020-09-07 15:48:41 -04:00
version.go extract build/version to api/version, remove api package dep on build 2021-03-05 14:28:13 -08:00
wrap.go Fix tests 2021-04-06 12:24:58 +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