From aedc4150da8dc3171ab39c7755d73662fe80b466 Mon Sep 17 00:00:00 2001 From: elmattic Date: Wed, 25 Sep 2024 14:33:35 +0200 Subject: [PATCH 1/8] Add updated v1 schema --- schemas/forest-a99f7ebfe01-path-v1.json | 8189 +++++++++++++++++++++++ 1 file changed, 8189 insertions(+) create mode 100644 schemas/forest-a99f7ebfe01-path-v1.json diff --git a/schemas/forest-a99f7ebfe01-path-v1.json b/schemas/forest-a99f7ebfe01-path-v1.json new file mode 100644 index 0000000..d63445f --- /dev/null +++ b/schemas/forest-a99f7ebfe01-path-v1.json @@ -0,0 +1,8189 @@ +{ + "openrpc": "1.3.2", + "info": { + "title": "forest", + "version": "0.20.0" + }, + "methods": [ + { + "name": "F3.Finalize", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSetKey" + } + } + ], + "result": { + "name": "F3.Finalize.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "F3.GetHead", + "params": [], + "result": { + "name": "F3.GetHead.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSet" + } + }, + "paramStructure": "by-position" + }, + { + "name": "F3.GetParent", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSetKey" + } + } + ], + "result": { + "name": "F3.GetParent.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSet" + } + }, + "paramStructure": "by-position" + }, + { + "name": "F3.GetParticipatingMinerIDs", + "params": [], + "result": { + "name": "F3.GetParticipatingMinerIDs.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "F3.GetPowerTable", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSetKey" + } + } + ], + "result": { + "name": "F3.GetPowerTable.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/F3PowerEntry" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "F3.GetTipset", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSetKey" + } + } + ], + "result": { + "name": "F3.GetTipset.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSet" + } + }, + "paramStructure": "by-position" + }, + { + "name": "F3.GetTipsetByEpoch", + "params": [ + { + "name": "epoch", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "result": { + "name": "F3.GetTipsetByEpoch.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSet" + } + }, + "paramStructure": "by-position" + }, + { + "name": "F3.ProtectPeer", + "params": [ + { + "name": "peer_id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "result": { + "name": "F3.ProtectPeer.Result", + "required": true, + "schema": { + "type": "boolean" + } + }, + "paramStructure": "by-position" + }, + { + "name": "F3.SignMessage", + "params": [ + { + "name": "pubkey", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + { + "name": "message", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + } + ], + "result": { + "name": "F3.SignMessage.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Signature" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.AuthNew", + "params": [ + { + "name": "permissions", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + }, + { + "name": "expiration_secs", + "required": true, + "schema": { + "type": [ + "integer", + "null" + ], + "format": "int64" + } + } + ], + "result": { + "name": "Filecoin.AuthNew.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.AuthVerify", + "params": [ + { + "name": "header_raw", + "required": true, + "schema": { + "type": "string" + } + } + ], + "result": { + "name": "Filecoin.AuthVerify.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainExport", + "params": [ + { + "name": "params", + "required": true, + "schema": { + "$ref": "#/components/schemas/ChainExportParams" + } + } + ], + "result": { + "name": "Filecoin.ChainExport.Result", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetBlock", + "params": [ + { + "name": "cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainGetBlock.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockHeader" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetBlockMessages", + "params": [ + { + "name": "cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainGetBlockMessages.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockMessages" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetEvents", + "params": [ + { + "name": "cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainGetEvents.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Event" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetGenesis", + "params": [], + "result": { + "name": "Filecoin.ChainGetGenesis.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Tipset" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetMessage", + "params": [ + { + "name": "msg_cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainGetMessage.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Message" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetMessagesInTipset", + "params": [ + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.ChainGetMessagesInTipset.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/ApiMessage" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetMinBaseFee", + "params": [ + { + "name": "lookback", + "required": true, + "schema": { + "type": "integer", + "format": "uint32", + "minimum": 0 + } + } + ], + "result": { + "name": "Filecoin.ChainGetMinBaseFee.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetParentMessages", + "params": [ + { + "name": "block_cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainGetParentMessages.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/ApiMessage" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetParentReceipts", + "params": [ + { + "name": "block_cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainGetParentReceipts.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/ApiReceipt" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetPath", + "params": [ + { + "name": "from", + "required": true, + "schema": { + "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" + } + }, + { + "name": "to", + "required": true, + "schema": { + "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainGetPath.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/PathChange_for_Tipset" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetTipSet", + "params": [ + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.ChainGetTipSet.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Tipset" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetTipSetAfterHeight", + "params": [ + { + "name": "height", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.ChainGetTipSetAfterHeight.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Tipset" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetTipSetByHeight", + "params": [ + { + "name": "height", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.ChainGetTipSetByHeight.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Tipset" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainHasObj", + "params": [ + { + "name": "cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainHasObj.Result", + "required": true, + "schema": { + "type": "boolean" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainHead", + "params": [], + "result": { + "name": "Filecoin.ChainHead.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Tipset" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainReadObj", + "params": [ + { + "name": "cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainReadObj.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainSetHead", + "params": [ + { + "name": "tsk", + "required": true, + "schema": { + "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainSetHead.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainStatObj", + "params": [ + { + "name": "obj_cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + }, + { + "name": "base_cid", + "required": true, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Cid" + }, + { + "type": "null" + } + ] + } + } + ], + "result": { + "name": "Filecoin.ChainStatObj.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/ObjStat" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainTipSetWeight", + "params": [ + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.ChainTipSetWeight.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthAccounts", + "params": [], + "result": { + "name": "Filecoin.EthAccounts.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthAddressToFilecoinAddress", + "params": [ + { + "name": "eth_address", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthAddress" + } + } + ], + "result": { + "name": "Filecoin.EthAddressToFilecoinAddress.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthBlockNumber", + "params": [], + "result": { + "name": "Filecoin.EthBlockNumber.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthCall", + "params": [ + { + "name": "tx", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthCallMessage" + } + }, + { + "name": "block_param", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockNumberOrHash" + } + } + ], + "result": { + "name": "Filecoin.EthCall.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthBytes" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthChainId", + "params": [], + "result": { + "name": "Filecoin.EthChainId.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthEstimateGas", + "params": [ + { + "name": "tx", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthCallMessage" + } + }, + { + "name": "block_param", + "required": true, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/BlockNumberOrHash" + }, + { + "type": "null" + } + ] + } + } + ], + "result": { + "name": "Filecoin.EthEstimateGas.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Uint64" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthFeeHistory", + "params": [ + { + "name": "block_count", + "required": true, + "schema": { + "$ref": "#/components/schemas/Uint64" + } + }, + { + "name": "newest_block_number", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockNumberOrPredefined" + } + }, + { + "name": "reward_percentiles", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "type": "number", + "format": "double" + } + } + } + ], + "result": { + "name": "Filecoin.EthFeeHistory.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthFeeHistoryResult" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGasPrice", + "params": [], + "result": { + "name": "Filecoin.EthGasPrice.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthBigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetBalance", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthAddress" + } + }, + { + "name": "block_param", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockNumberOrHash" + } + } + ], + "result": { + "name": "Filecoin.EthGetBalance.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthBigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetBlockByHash", + "params": [ + { + "name": "block_param", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockNumberOrHash" + } + }, + { + "name": "full_tx_info", + "required": true, + "schema": { + "type": "boolean" + } + } + ], + "result": { + "name": "Filecoin.EthGetBlockByHash.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Block" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetBlockByNumber", + "params": [ + { + "name": "block_param", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockNumberOrHash" + } + }, + { + "name": "full_tx_info", + "required": true, + "schema": { + "type": "boolean" + } + } + ], + "result": { + "name": "Filecoin.EthGetBlockByNumber.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Block" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetBlockTransactionCountByHash", + "params": [ + { + "name": "block_hash", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthHash" + } + } + ], + "result": { + "name": "Filecoin.EthGetBlockTransactionCountByHash.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Uint64" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetBlockTransactionCountByNumber", + "params": [ + { + "name": "block_number", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int64" + } + } + ], + "result": { + "name": "Filecoin.EthGetBlockTransactionCountByNumber.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Uint64" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetCode", + "params": [ + { + "name": "eth_address", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthAddress" + } + }, + { + "name": "block_number_or_hash", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockNumberOrHash" + } + } + ], + "result": { + "name": "Filecoin.EthGetCode.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthBytes" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetMessageCidByTransactionHash", + "params": [ + { + "name": "tx_hash", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthHash" + } + } + ], + "result": { + "name": "Filecoin.EthGetMessageCidByTransactionHash.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Cid" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetStorageAt", + "params": [ + { + "name": "eth_address", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthAddress" + } + }, + { + "name": "position", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthBytes" + } + }, + { + "name": "block_number_or_hash", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockNumberOrHash" + } + } + ], + "result": { + "name": "Filecoin.EthGetStorageAt.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthBytes" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetTransactionByBlockHashAndIndex", + "params": [ + { + "name": "p1", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthHash" + } + }, + { + "name": "p2", + "required": true, + "schema": { + "$ref": "#/components/schemas/Uint64" + } + } + ], + "result": { + "name": "Filecoin.EthGetTransactionByBlockHashAndIndex.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/ApiEthTx" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetTransactionByBlockNumberAndIndex", + "params": [ + { + "name": "p1", + "required": true, + "schema": { + "$ref": "#/components/schemas/Uint64" + } + }, + { + "name": "p2", + "required": true, + "schema": { + "$ref": "#/components/schemas/Uint64" + } + } + ], + "result": { + "name": "Filecoin.EthGetTransactionByBlockNumberAndIndex.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/ApiEthTx" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetTransactionByHash", + "params": [ + { + "name": "tx_hash", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthHash" + } + } + ], + "result": { + "name": "Filecoin.EthGetTransactionByHash.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/ApiEthTx" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetTransactionByHashLimited", + "params": [ + { + "name": "tx_hash", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthHash" + } + }, + { + "name": "limit", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "result": { + "name": "Filecoin.EthGetTransactionByHashLimited.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/ApiEthTx" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetTransactionCount", + "params": [ + { + "name": "sender", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthAddress" + } + }, + { + "name": "block_param", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockNumberOrHash" + } + } + ], + "result": { + "name": "Filecoin.EthGetTransactionCount.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Uint64" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetTransactionHashByCid", + "params": [ + { + "name": "cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.EthGetTransactionHashByCid.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthHash" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetTransactionReceipt", + "params": [ + { + "name": "tx_hash", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthHash" + } + } + ], + "result": { + "name": "Filecoin.EthGetTransactionReceipt.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthTxReceipt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthMaxPriorityFeePerGas", + "params": [], + "result": { + "name": "Filecoin.EthMaxPriorityFeePerGas.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthBigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthNewBlockFilter", + "params": [], + "result": { + "name": "Filecoin.EthNewBlockFilter.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/FilterID" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthNewFilter", + "params": [ + { + "name": "filter_spec", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthFilterSpec" + } + } + ], + "result": { + "name": "Filecoin.EthNewFilter.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/FilterID" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthNewPendingTransactionFilter", + "params": [], + "result": { + "name": "Filecoin.EthNewPendingTransactionFilter.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/FilterID" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthProtocolVersion", + "params": [], + "result": { + "name": "Filecoin.EthProtocolVersion.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Uint64" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthSyncing", + "params": [], + "result": { + "name": "Filecoin.EthSyncing.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthSyncingResultLotusJson" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthUninstallFilter", + "params": [ + { + "name": "filter_id", + "required": true, + "schema": { + "$ref": "#/components/schemas/FilterID" + } + } + ], + "result": { + "name": "Filecoin.EthUninstallFilter.Result", + "required": true, + "schema": { + "type": "boolean" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.F3GetCertificate", + "params": [ + { + "name": "instance", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + ], + "result": { + "name": "Filecoin.F3GetCertificate.Result", + "required": true, + "schema": true + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.F3GetECPowerTable", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSetKey" + } + } + ], + "result": { + "name": "Filecoin.F3GetECPowerTable.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/F3PowerEntry" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.F3GetF3PowerTable", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSetKey" + } + } + ], + "result": { + "name": "Filecoin.F3GetF3PowerTable.Result", + "required": true, + "schema": true + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.F3GetLatestCertificate", + "params": [], + "result": { + "name": "Filecoin.F3GetLatestCertificate.Result", + "required": true, + "schema": true + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.F3Participate", + "params": [ + { + "name": "miner_address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "new_lease_expiration", + "required": true, + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "name": "old_lease_expiration", + "required": true, + "schema": { + "type": "string", + "format": "date-time" + } + } + ], + "result": { + "name": "Filecoin.F3Participate.Result", + "required": true, + "schema": { + "type": "boolean" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.GasEstimateFeeCap", + "params": [ + { + "name": "message", + "required": true, + "schema": { + "$ref": "#/components/schemas/Message" + } + }, + { + "name": "max_queue_blocks", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.GasEstimateFeeCap.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.GasEstimateGasLimit", + "params": [ + { + "name": "msg", + "required": true, + "schema": { + "$ref": "#/components/schemas/Message" + } + }, + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.GasEstimateGasLimit.Result", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.GasEstimateGasPremium", + "params": [ + { + "name": "nblocksincl", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "sender", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "gas_limit", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.GasEstimateGasPremium.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.GasEstimateMessageGas", + "params": [ + { + "name": "msg", + "required": true, + "schema": { + "$ref": "#/components/schemas/Message" + } + }, + { + "name": "spec", + "required": true, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/MessageSendSpec" + }, + { + "type": "null" + } + ] + } + }, + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.GasEstimateMessageGas.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Message" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.GetActorEventsRaw", + "params": [ + { + "name": "filter", + "required": true, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/ActorEventFilter" + }, + { + "type": "null" + } + ] + } + } + ], + "result": { + "name": "Filecoin.GetActorEventsRaw.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/ActorEvent" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MarketAddBalance", + "params": [ + { + "name": "wallet", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "amount", + "required": true, + "schema": { + "$ref": "#/components/schemas/BigInt" + } + } + ], + "result": { + "name": "Filecoin.MarketAddBalance.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MinerCreateBlock", + "params": [ + { + "name": "block_template", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockTemplate" + } + } + ], + "result": { + "name": "Filecoin.MinerCreateBlock.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockMessage" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MinerGetBaseInfo", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "epoch", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.MinerGetBaseInfo.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/MiningBaseInfo" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MpoolBatchPush", + "params": [ + { + "name": "msgs", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/SignedMessage" + } + } + } + ], + "result": { + "name": "Filecoin.MpoolBatchPush.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MpoolBatchPushUntrusted", + "params": [ + { + "name": "msgs", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/SignedMessage" + } + } + } + ], + "result": { + "name": "Filecoin.MpoolBatchPushUntrusted.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MpoolGetNonce", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + } + ], + "result": { + "name": "Filecoin.MpoolGetNonce.Result", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MpoolPending", + "params": [ + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.MpoolPending.Result", + "required": true, + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SignedMessage" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MpoolPush", + "params": [ + { + "name": "msg", + "required": true, + "schema": { + "$ref": "#/components/schemas/SignedMessage" + } + } + ], + "result": { + "name": "Filecoin.MpoolPush.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MpoolPushMessage", + "params": [ + { + "name": "usmg", + "required": true, + "schema": { + "$ref": "#/components/schemas/Message" + } + }, + { + "name": "spec", + "required": true, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/MessageSendSpec" + }, + { + "type": "null" + } + ] + } + } + ], + "result": { + "name": "Filecoin.MpoolPushMessage.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/SignedMessage" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MpoolPushUntrusted", + "params": [ + { + "name": "msg", + "required": true, + "schema": { + "$ref": "#/components/schemas/SignedMessage" + } + } + ], + "result": { + "name": "Filecoin.MpoolPushUntrusted.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MpoolSelect", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + }, + { + "name": "ticket_quality", + "required": true, + "schema": { + "type": "number", + "format": "double" + } + } + ], + "result": { + "name": "Filecoin.MpoolSelect.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/SignedMessage" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MsigGetAvailableBalance", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.MsigGetAvailableBalance.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MsigGetPending", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.MsigGetPending.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Transaction" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MsigGetVested", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "start_tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + }, + { + "name": "end_tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.MsigGetVested.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MsigGetVestingSchedule", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.MsigGetVestingSchedule.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/MsigVesting" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetAddrsListen", + "params": [], + "result": { + "name": "Filecoin.NetAddrsListen.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/AddrInfo" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetAgentVersion", + "params": [ + { + "name": "id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "result": { + "name": "Filecoin.NetAgentVersion.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetAutoNatStatus", + "params": [], + "result": { + "name": "Filecoin.NetAutoNatStatus.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/NatStatusResult" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetConnect", + "params": [ + { + "name": "info", + "required": true, + "schema": { + "$ref": "#/components/schemas/AddrInfo" + } + } + ], + "result": { + "name": "Filecoin.NetConnect.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetDisconnect", + "params": [ + { + "name": "id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "result": { + "name": "Filecoin.NetDisconnect.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetFindPeer", + "params": [ + { + "name": "peer_id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "result": { + "name": "Filecoin.NetFindPeer.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/AddrInfo" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetListening", + "params": [], + "result": { + "name": "Filecoin.NetListening.Result", + "required": true, + "schema": { + "type": "boolean" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetPeers", + "params": [], + "result": { + "name": "Filecoin.NetPeers.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/AddrInfo" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetProtectAdd", + "params": [ + { + "name": "peer_ids", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + } + ], + "result": { + "name": "Filecoin.NetProtectAdd.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetProtectList", + "params": [], + "result": { + "name": "Filecoin.NetProtectList.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetProtectRemove", + "params": [ + { + "name": "peer_ids", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + } + ], + "result": { + "name": "Filecoin.NetProtectRemove.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetVersion", + "params": [], + "result": { + "name": "Filecoin.NetVersion.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NodeStatus", + "params": [], + "result": { + "name": "Filecoin.NodeStatus.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/NodeStatusResult" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.Session", + "params": [], + "result": { + "name": "Filecoin.Session.Result", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.Shutdown", + "params": [], + "result": { + "name": "Filecoin.Shutdown.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StartTime", + "params": [], + "result": { + "name": "Filecoin.StartTime.Result", + "required": true, + "schema": { + "type": "string", + "format": "date-time" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateAccountKey", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateAccountKey.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateCall", + "params": [ + { + "name": "message", + "required": true, + "schema": { + "$ref": "#/components/schemas/Message" + } + }, + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateCall.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/ApiInvocResult" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateCirculatingSupply", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateCirculatingSupply.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateDealProviderCollateralBounds", + "params": [ + { + "name": "size", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "verified", + "required": true, + "schema": { + "type": "boolean" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateDealProviderCollateralBounds.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/DealCollateralBounds" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetActor", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetActor.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/ActorState" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetAllAllocations", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetAllAllocations.Result", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/Allocation" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetAllClaims", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetAllClaims.Result", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ClaimLotusJson" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetAllocation", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "allocation_id", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetAllocation.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Allocation" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetAllocationForPendingDeal", + "params": [ + { + "name": "deal_id", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetAllocationForPendingDeal.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Allocation" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetAllocationIdForPendingDeal", + "params": [ + { + "name": "deal_id", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetAllocationIdForPendingDeal.Result", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetAllocations", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetAllocations.Result", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/Allocation" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetBeaconEntry", + "params": [ + { + "name": "epoch", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "result": { + "name": "Filecoin.StateGetBeaconEntry.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BeaconEntry" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetClaim", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "claim_id", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetClaim.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/ClaimLotusJson" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetClaims", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetClaims.Result", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ClaimLotusJson" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetNetworkParams", + "params": [], + "result": { + "name": "Filecoin.StateGetNetworkParams.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/NetworkParams" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetRandomnessDigestFromBeacon", + "params": [ + { + "name": "rand_epoch", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetRandomnessDigestFromBeacon.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetRandomnessDigestFromTickets", + "params": [ + { + "name": "rand_epoch", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetRandomnessDigestFromTickets.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetRandomnessFromBeacon", + "params": [ + { + "name": "personalization", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "rand_epoch", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "entropy", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetRandomnessFromBeacon.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetRandomnessFromTickets", + "params": [ + { + "name": "personalization", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "rand_epoch", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "entropy", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetRandomnessFromTickets.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetReceipt", + "params": [ + { + "name": "cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetReceipt.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Receipt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateListActors", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateListActors.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Address" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateListMessages", + "params": [ + { + "name": "message_filter", + "required": true, + "schema": { + "$ref": "#/components/schemas/MessageFilter" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + }, + { + "name": "max_height", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "result": { + "name": "Filecoin.StateListMessages.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateListMiners", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateListMiners.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Address" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateLookupID", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateLookupID.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateLookupRobustAddress", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateLookupRobustAddress.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMarketBalance", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMarketBalance.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/MarketBalance" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMarketDeals", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMarketDeals.Result", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ApiMarketDeal" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMarketParticipants", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMarketParticipants.Result", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/MarketBalance" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMarketStorageDeal", + "params": [ + { + "name": "deal_id", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMarketStorageDeal.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/ApiMarketDeal" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerActiveSectors", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerActiveSectors.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/SectorOnChainInfo" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerAllocated", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerAllocated.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BitField" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerAvailableBalance", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerAvailableBalance.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerDeadlines", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerDeadlines.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/ApiDeadline" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerFaults", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerFaults.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BitField" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerInfo", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerInfo.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/MinerInfo" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerInitialPledgeCollateral", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "sector_pre_commit_info", + "required": true, + "schema": { + "$ref": "#/components/schemas/SectorPreCommitInfo" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerInitialPledgeCollateral.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerPartitions", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "deadline_index", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerPartitions.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/MinerPartitions" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerPower", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerPower.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/MinerPower" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerPreCommitDepositForPower", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "sector_pre_commit_info", + "required": true, + "schema": { + "$ref": "#/components/schemas/SectorPreCommitInfo" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerPreCommitDepositForPower.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerProvingDeadline", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerProvingDeadline.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/ApiDeadlineInfo" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerRecoveries", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerRecoveries.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BitField" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerSectorAllocated", + "params": [ + { + "name": "miner_address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "sector_number", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerSectorAllocated.Result", + "required": true, + "schema": { + "type": "boolean" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerSectorCount", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerSectorCount.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/MinerSectors" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerSectors", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "sectors", + "required": true, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/BitField" + }, + { + "type": "null" + } + ] + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerSectors.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/SectorOnChainInfo" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateNetworkName", + "params": [], + "result": { + "name": "Filecoin.StateNetworkName.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateNetworkVersion", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateNetworkVersion.Result", + "required": true, + "schema": { + "type": "integer", + "format": "uint32", + "minimum": 0 + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateReadState", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateReadState.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/ApiActorState" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateReplay", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + }, + { + "name": "message_cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.StateReplay.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/ApiInvocResult" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateSearchMsg", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + }, + { + "name": "message_cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + }, + { + "name": "look_back_limit", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "allow_replaced", + "required": true, + "schema": { + "type": "boolean" + } + } + ], + "result": { + "name": "Filecoin.StateSearchMsg.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/MessageLookup" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateSectorExpiration", + "params": [ + { + "name": "miner_address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "sector_number", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateSectorExpiration.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/SectorExpiration" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateSectorGetInfo", + "params": [ + { + "name": "miner_address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "sector_number", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateSectorGetInfo.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/SectorOnChainInfo" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateSectorPartition", + "params": [ + { + "name": "miner_address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "sector_number", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateSectorPartition.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/SectorLocation" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateSectorPreCommitInfo", + "params": [ + { + "name": "miner_address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "sector_number", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateSectorPreCommitInfo.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/SectorPreCommitOnChainInfo" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateVMCirculatingSupplyInternal", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateVMCirculatingSupplyInternal.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/CirculatingSupply" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateVerifiedClientStatus", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateVerifiedClientStatus.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/BigInt" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateVerifiedRegistryRootKey", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateVerifiedRegistryRootKey.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateVerifierStatus", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateVerifierStatus.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/BigInt" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateWaitMsg", + "params": [ + { + "name": "message_cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + }, + { + "name": "confidence", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "look_back_limit", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "allow_replaced", + "required": true, + "schema": { + "type": "boolean" + } + } + ], + "result": { + "name": "Filecoin.StateWaitMsg.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/MessageLookup" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.SyncCheckBad", + "params": [ + { + "name": "cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.SyncCheckBad.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.SyncMarkBad", + "params": [ + { + "name": "cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.SyncMarkBad.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.SyncState", + "params": [], + "result": { + "name": "Filecoin.SyncState.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/RPCSyncState" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.SyncSubmitBlock", + "params": [ + { + "name": "blk", + "required": true, + "schema": { + "$ref": "#/components/schemas/GossipBlock" + } + } + ], + "result": { + "name": "Filecoin.SyncSubmitBlock.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.Version", + "params": [], + "result": { + "name": "Filecoin.Version.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/PublicVersion" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletBalance", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + } + ], + "result": { + "name": "Filecoin.WalletBalance.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletDefaultAddress", + "params": [], + "result": { + "name": "Filecoin.WalletDefaultAddress.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Address" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletDelete", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + } + ], + "result": { + "name": "Filecoin.WalletDelete.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletExport", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + } + ], + "result": { + "name": "Filecoin.WalletExport.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/KeyInfo" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletHas", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + } + ], + "result": { + "name": "Filecoin.WalletHas.Result", + "required": true, + "schema": { + "type": "boolean" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletImport", + "params": [ + { + "name": "key", + "required": true, + "schema": { + "$ref": "#/components/schemas/KeyInfo" + } + } + ], + "result": { + "name": "Filecoin.WalletImport.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletList", + "params": [], + "result": { + "name": "Filecoin.WalletList.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Address" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletNew", + "params": [ + { + "name": "signature_type", + "required": true, + "schema": { + "$ref": "#/components/schemas/SignatureTypeLotusJson" + } + } + ], + "result": { + "name": "Filecoin.WalletNew.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletSetDefault", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + } + ], + "result": { + "name": "Filecoin.WalletSetDefault.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletSign", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "message", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + } + ], + "result": { + "name": "Filecoin.WalletSign.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Signature" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletSignMessage", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "message", + "required": true, + "schema": { + "$ref": "#/components/schemas/Message" + } + } + ], + "result": { + "name": "Filecoin.WalletSignMessage.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/SignedMessage" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletValidateAddress", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "type": "string" + } + } + ], + "result": { + "name": "Filecoin.WalletValidateAddress.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletVerify", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "message", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + { + "name": "signature", + "required": true, + "schema": { + "$ref": "#/components/schemas/Signature" + } + } + ], + "result": { + "name": "Filecoin.WalletVerify.Result", + "required": true, + "schema": { + "type": "boolean" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.Web3ClientVersion", + "params": [], + "result": { + "name": "Filecoin.Web3ClientVersion.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Forest.NetInfo", + "params": [], + "result": { + "name": "Forest.NetInfo.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/NetInfoResult" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Forest.StateCompute", + "params": [ + { + "name": "epoch", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "result": { + "name": "Forest.StateCompute.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Forest.StateFetchRoot", + "params": [ + { + "name": "root_cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + }, + { + "name": "save_to_file", + "required": true, + "schema": { + "type": [ + "string", + "null" + ] + } + } + ], + "result": { + "name": "Forest.StateFetchRoot.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + } + ], + "components": { + "schemas": { + "ActorEvent": { + "type": "object", + "required": [ + "emitter", + "entries", + "height", + "msgCid", + "reverted", + "tipsetKey" + ], + "properties": { + "emitter": { + "$ref": "#/components/schemas/Address" + }, + "entries": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EventEntry" + } + }, + "height": { + "type": "integer", + "format": "int64" + }, + "msgCid": { + "$ref": "#/components/schemas/Cid" + }, + "reverted": { + "type": "boolean" + }, + "tipsetKey": { + "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" + } + } + }, + "ActorEventBlock": { + "type": "object", + "required": [ + "codec", + "value" + ], + "properties": { + "codec": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "value": { + "$ref": "#/components/schemas/Base64String" + } + } + }, + "ActorEventFilter": { + "type": "object", + "properties": { + "addresses": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Address" + } + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ActorEventBlock" + } + } + }, + "fromHeight": { + "type": [ + "integer", + "null" + ], + "format": "int64" + }, + "tipsetKey": { + "anyOf": [ + { + "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" + }, + { + "type": "null" + } + ] + }, + "toHeight": { + "type": [ + "integer", + "null" + ], + "format": "int64" + } + } + }, + "ActorState": { + "type": "object", + "required": [ + "Balance", + "Code", + "Head", + "Nonce" + ], + "properties": { + "Balance": { + "$ref": "#/components/schemas/BigInt" + }, + "Code": { + "$ref": "#/components/schemas/Cid" + }, + "DelegatedAddress": { + "$ref": "#/components/schemas/Nullable_Address" + }, + "Head": { + "$ref": "#/components/schemas/Cid" + }, + "Nonce": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "ActorTrace": { + "type": "object", + "required": [ + "Id", + "State" + ], + "properties": { + "Id": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "State": { + "$ref": "#/components/schemas/ActorState" + } + } + }, + "AddrInfo": { + "type": "object", + "required": [ + "Addrs", + "ID" + ], + "properties": { + "Addrs": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true + }, + "ID": { + "type": "string" + } + } + }, + "Address": { + "type": "string" + }, + "Allocation": { + "type": "object", + "required": [ + "Client", + "Data", + "Expiration", + "Provider", + "Size", + "TermMax", + "TermMin" + ], + "properties": { + "Client": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Data": { + "$ref": "#/components/schemas/Cid" + }, + "Expiration": { + "type": "integer", + "format": "int64" + }, + "Provider": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Size": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "TermMax": { + "type": "integer", + "format": "int64" + }, + "TermMin": { + "type": "integer", + "format": "int64" + } + } + }, + "ApiActorState": { + "type": "object", + "required": [ + "Balance", + "Code", + "State" + ], + "properties": { + "Balance": { + "$ref": "#/components/schemas/BigInt" + }, + "Code": { + "$ref": "#/components/schemas/Cid" + }, + "State": { + "$ref": "#/components/schemas/ApiState" + } + } + }, + "ApiDeadline": { + "type": "object", + "required": [ + "DisputableProofCount", + "PostSubmissions" + ], + "properties": { + "DisputableProofCount": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "PostSubmissions": { + "$ref": "#/components/schemas/BitField" + } + } + }, + "ApiDeadlineInfo": { + "type": "string" + }, + "ApiDealProposal": { + "type": "object", + "required": [ + "Client", + "ClientCollateral", + "EndEpoch", + "Label", + "PieceCID", + "PieceSize", + "Provider", + "ProviderCollateral", + "StartEpoch", + "StoragePricePerEpoch", + "VerifiedDeal" + ], + "properties": { + "Client": { + "$ref": "#/components/schemas/Address" + }, + "ClientCollateral": { + "$ref": "#/components/schemas/BigInt" + }, + "EndEpoch": { + "type": "integer", + "format": "int64" + }, + "Label": { + "type": "string" + }, + "PieceCID": { + "$ref": "#/components/schemas/Cid" + }, + "PieceSize": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Provider": { + "$ref": "#/components/schemas/Address" + }, + "ProviderCollateral": { + "$ref": "#/components/schemas/BigInt" + }, + "StartEpoch": { + "type": "integer", + "format": "int64" + }, + "StoragePricePerEpoch": { + "$ref": "#/components/schemas/BigInt" + }, + "VerifiedDeal": { + "type": "boolean" + } + } + }, + "ApiDealState": { + "type": "object", + "required": [ + "LastUpdatedEpoch", + "SectorStartEpoch", + "SlashEpoch" + ], + "properties": { + "LastUpdatedEpoch": { + "type": "integer", + "format": "int64" + }, + "SectorStartEpoch": { + "type": "integer", + "format": "int64" + }, + "SlashEpoch": { + "type": "integer", + "format": "int64" + } + } + }, + "ApiEthTx": { + "type": "object", + "required": [ + "blockHash", + "blockNumber", + "chainId", + "from", + "gas", + "hash", + "input", + "nonce", + "r", + "s", + "transactionIndex", + "type", + "v", + "value" + ], + "properties": { + "accessList": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/EthHash" + } + }, + "blockHash": { + "$ref": "#/components/schemas/EthHash" + }, + "blockNumber": { + "$ref": "#/components/schemas/Uint64" + }, + "chainId": { + "$ref": "#/components/schemas/Uint64" + }, + "from": { + "$ref": "#/components/schemas/EthAddress" + }, + "gas": { + "$ref": "#/components/schemas/Uint64" + }, + "gasPrice": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthBigInt" + }, + { + "type": "null" + } + ] + }, + "hash": { + "$ref": "#/components/schemas/EthHash" + }, + "input": { + "$ref": "#/components/schemas/EthBytes" + }, + "maxFeePerGas": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthBigInt" + }, + { + "type": "null" + } + ] + }, + "maxPriorityFeePerGas": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthBigInt" + }, + { + "type": "null" + } + ] + }, + "nonce": { + "$ref": "#/components/schemas/Uint64" + }, + "r": { + "$ref": "#/components/schemas/EthBigInt" + }, + "s": { + "$ref": "#/components/schemas/EthBigInt" + }, + "to": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthAddress" + }, + { + "type": "null" + } + ] + }, + "transactionIndex": { + "$ref": "#/components/schemas/Uint64" + }, + "type": { + "$ref": "#/components/schemas/Uint64" + }, + "v": { + "$ref": "#/components/schemas/EthBigInt" + }, + "value": { + "$ref": "#/components/schemas/EthBigInt" + } + } + }, + "ApiInvocResult": { + "type": "object", + "required": [ + "Duration", + "Error", + "GasCost", + "Msg", + "MsgCid", + "MsgRct" + ], + "properties": { + "Duration": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Error": { + "type": "string" + }, + "ExecutionTrace": { + "anyOf": [ + { + "$ref": "#/components/schemas/ExecutionTrace" + }, + { + "type": "null" + } + ] + }, + "GasCost": { + "$ref": "#/components/schemas/MessageGasCost" + }, + "Msg": { + "$ref": "#/components/schemas/Message" + }, + "MsgCid": { + "$ref": "#/components/schemas/Cid" + }, + "MsgRct": { + "$ref": "#/components/schemas/Nullable_Receipt" + } + } + }, + "ApiMarketDeal": { + "type": "object", + "required": [ + "Proposal", + "State" + ], + "properties": { + "Proposal": { + "$ref": "#/components/schemas/ApiDealProposal" + }, + "State": { + "$ref": "#/components/schemas/ApiDealState" + } + } + }, + "ApiMessage": { + "type": "object", + "required": [ + "Cid", + "Message" + ], + "properties": { + "Cid": { + "$ref": "#/components/schemas/Cid" + }, + "Message": { + "$ref": "#/components/schemas/Message" + } + } + }, + "ApiReceipt": { + "type": "object", + "required": [ + "EventsRoot", + "ExitCode", + "GasUsed", + "Return" + ], + "properties": { + "EventsRoot": { + "$ref": "#/components/schemas/Nullable_Cid" + }, + "ExitCode": { + "$ref": "#/components/schemas/ExitCode" + }, + "GasUsed": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Return": { + "$ref": "#/components/schemas/Base64String" + } + } + }, + "ApiState": { + "type": "object", + "required": [ + "BuiltinActors" + ], + "properties": { + "BuiltinActors": true + } + }, + "Base64String": { + "type": [ + "string", + "null" + ] + }, + "BeaconEntry": { + "type": "object", + "required": [ + "Data", + "Round" + ], + "properties": { + "Data": { + "$ref": "#/components/schemas/Base64String" + }, + "Round": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "BeneficiaryTerm": { + "type": "object", + "required": [ + "Expiration", + "Quota", + "UsedQuota" + ], + "properties": { + "Expiration": { + "description": "The epoch at which the beneficiary's rights expire and revert to the owner", + "type": "integer", + "format": "int64" + }, + "Quota": { + "description": "The total amount the current beneficiary can withdraw. Monotonic, but reset when beneficiary changes.", + "$ref": "#/components/schemas/BigInt" + }, + "UsedQuota": { + "description": "The amount of quota the current beneficiary has already withdrawn", + "$ref": "#/components/schemas/BigInt" + } + } + }, + "BigInt": { + "type": "string" + }, + "BitField": { + "type": [ + "array", + "null" + ], + "items": { + "type": "integer", + "format": "uint8", + "minimum": 0 + } + }, + "Block": { + "type": "object", + "required": [ + "baseFeePerGas", + "difficulty", + "extraData", + "gasLimit", + "gasUsed", + "hash", + "logsBloom", + "miner", + "mixHash", + "nonce", + "number", + "parentHash", + "receiptsRoot", + "sha3Uncles", + "size", + "stateRoot", + "timestamp", + "totalDifficulty", + "transactions", + "transactionsRoot", + "uncles" + ], + "properties": { + "baseFeePerGas": { + "$ref": "#/components/schemas/EthBigInt" + }, + "difficulty": { + "$ref": "#/components/schemas/Uint64" + }, + "extraData": { + "$ref": "#/components/schemas/EthBytes" + }, + "gasLimit": { + "$ref": "#/components/schemas/Uint64" + }, + "gasUsed": { + "$ref": "#/components/schemas/Uint64" + }, + "hash": { + "$ref": "#/components/schemas/EthHash" + }, + "logsBloom": { + "$ref": "#/components/schemas/Bloom" + }, + "miner": { + "$ref": "#/components/schemas/EthAddress" + }, + "mixHash": { + "$ref": "#/components/schemas/EthHash" + }, + "nonce": { + "$ref": "#/components/schemas/Nonce" + }, + "number": { + "$ref": "#/components/schemas/Uint64" + }, + "parentHash": { + "$ref": "#/components/schemas/EthHash" + }, + "receiptsRoot": { + "$ref": "#/components/schemas/EthHash" + }, + "sha3Uncles": { + "$ref": "#/components/schemas/EthHash" + }, + "size": { + "$ref": "#/components/schemas/Uint64" + }, + "stateRoot": { + "$ref": "#/components/schemas/EthHash" + }, + "timestamp": { + "$ref": "#/components/schemas/Uint64" + }, + "totalDifficulty": { + "$ref": "#/components/schemas/Uint64" + }, + "transactions": { + "$ref": "#/components/schemas/Transactions" + }, + "transactionsRoot": { + "$ref": "#/components/schemas/EthHash" + }, + "uncles": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthHash" + } + } + } + }, + "BlockHash": { + "type": "object", + "required": [ + "blockHash", + "requireCanonical" + ], + "properties": { + "blockHash": { + "$ref": "#/components/schemas/EthHash" + }, + "requireCanonical": { + "type": "boolean" + } + } + }, + "BlockHeader": { + "type": "object", + "required": [ + "BeaconEntries", + "ForkSignaling", + "Height", + "Messages", + "Miner", + "ParentBaseFee", + "ParentMessageReceipts", + "ParentStateRoot", + "ParentWeight", + "Parents", + "Timestamp", + "WinPoStProof" + ], + "properties": { + "BLSAggregate": { + "$ref": "#/components/schemas/Nullable_Signature" + }, + "BeaconEntries": { + "$ref": "#/components/schemas/Nullable_Array_of_BeaconEntry" + }, + "BlockSig": { + "$ref": "#/components/schemas/Nullable_Signature" + }, + "ElectionProof": { + "$ref": "#/components/schemas/Nullable_ElectionProof" + }, + "ForkSignaling": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Height": { + "type": "integer", + "format": "int64" + }, + "Messages": { + "$ref": "#/components/schemas/Cid" + }, + "Miner": { + "$ref": "#/components/schemas/Address" + }, + "ParentBaseFee": { + "$ref": "#/components/schemas/BigInt" + }, + "ParentMessageReceipts": { + "$ref": "#/components/schemas/Cid" + }, + "ParentStateRoot": { + "$ref": "#/components/schemas/Cid" + }, + "ParentWeight": { + "$ref": "#/components/schemas/BigInt" + }, + "Parents": { + "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" + }, + "Ticket": { + "$ref": "#/components/schemas/Nullable_Ticket" + }, + "Timestamp": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "WinPoStProof": { + "$ref": "#/components/schemas/Nullable_Array_of_PoStProof" + } + } + }, + "BlockMessage": { + "type": "object", + "required": [ + "BlsMessages", + "Header", + "SecpkMessages" + ], + "properties": { + "BlsMessages": { + "$ref": "#/components/schemas/Nullable_Array_of_Cid" + }, + "Header": { + "$ref": "#/components/schemas/BlockHeader" + }, + "SecpkMessages": { + "$ref": "#/components/schemas/Nullable_Array_of_Cid" + } + } + }, + "BlockMessages": { + "type": "object", + "required": [ + "BlsMessages", + "Cids", + "SecpkMessages" + ], + "properties": { + "BlsMessages": { + "$ref": "#/components/schemas/Nullable_Array_of_Message" + }, + "Cids": { + "$ref": "#/components/schemas/Nullable_Array_of_Cid" + }, + "SecpkMessages": { + "$ref": "#/components/schemas/Nullable_Array_of_SignedMessage" + } + } + }, + "BlockNumber": { + "type": "object", + "required": [ + "blockNumber" + ], + "properties": { + "blockNumber": { + "$ref": "#/components/schemas/Int64" + } + } + }, + "BlockNumberOrHash": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Int64" + }, + { + "$ref": "#/components/schemas/EthHash" + }, + { + "$ref": "#/components/schemas/BlockNumber" + }, + { + "$ref": "#/components/schemas/BlockHash" + } + ] + }, + "BlockNumberOrPredefined": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Int64" + } + ] + }, + "BlockTemplate": { + "type": "object", + "required": [ + "BeaconValues", + "Epoch", + "Eproof", + "Messages", + "Miner", + "Parents", + "Ticket", + "Timestamp", + "WinningPoStProof" + ], + "properties": { + "BeaconValues": { + "$ref": "#/components/schemas/Nullable_Array_of_BeaconEntry" + }, + "Epoch": { + "$ref": "#/components/schemas/int64" + }, + "Eproof": { + "$ref": "#/components/schemas/ElectionProof" + }, + "Messages": { + "$ref": "#/components/schemas/Nullable_Array_of_SignedMessage" + }, + "Miner": { + "$ref": "#/components/schemas/Address" + }, + "Parents": { + "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" + }, + "Ticket": { + "$ref": "#/components/schemas/Ticket" + }, + "Timestamp": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "WinningPoStProof": { + "$ref": "#/components/schemas/Nullable_Array_of_PoStProof" + } + } + }, + "Bloom": { + "type": "string" + }, + "ChainExportParams": { + "type": "object", + "required": [ + "dry_run", + "epoch", + "output_path", + "recent_roots", + "skip_checksum", + "tipset_keys" + ], + "properties": { + "dry_run": { + "type": "boolean" + }, + "epoch": { + "type": "integer", + "format": "int64" + }, + "output_path": { + "type": "string" + }, + "recent_roots": { + "type": "integer", + "format": "int64" + }, + "skip_checksum": { + "type": "boolean" + }, + "tipset_keys": { + "$ref": "#/components/schemas/Nullable_Array_of_Cid" + } + } + }, + "Cid": { + "type": "object", + "required": [ + "/" + ], + "properties": { + "/": { + "type": "string" + } + } + }, + "CirculatingSupply": { + "type": "object", + "required": [ + "FilBurnt", + "FilCirculating", + "FilLocked", + "FilMined", + "FilReserveDisbursed", + "FilVested" + ], + "properties": { + "FilBurnt": { + "$ref": "#/components/schemas/BigInt" + }, + "FilCirculating": { + "$ref": "#/components/schemas/BigInt" + }, + "FilLocked": { + "$ref": "#/components/schemas/BigInt" + }, + "FilMined": { + "$ref": "#/components/schemas/BigInt" + }, + "FilReserveDisbursed": { + "$ref": "#/components/schemas/BigInt" + }, + "FilVested": { + "$ref": "#/components/schemas/BigInt" + } + } + }, + "Claim": { + "type": "object", + "required": [ + "QualityAdjPower", + "RawBytePower" + ], + "properties": { + "QualityAdjPower": { + "description": "Sum of quality adjusted power for a miner's sectors.", + "$ref": "#/components/schemas/BigInt" + }, + "RawBytePower": { + "description": "Sum of raw byte power for a miner's sectors.", + "$ref": "#/components/schemas/BigInt" + } + } + }, + "ClaimLotusJson": { + "type": "object", + "required": [ + "Client", + "Data", + "Provider", + "Sector", + "Size", + "TermMax", + "TermMin", + "TermStart" + ], + "properties": { + "Client": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Data": { + "$ref": "#/components/schemas/Cid" + }, + "Provider": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Sector": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Size": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "TermMax": { + "type": "integer", + "format": "int64" + }, + "TermMin": { + "type": "integer", + "format": "int64" + }, + "TermStart": { + "type": "integer", + "format": "int64" + } + } + }, + "DealCollateralBounds": { + "type": "object", + "required": [ + "Max", + "Min" + ], + "properties": { + "Max": { + "$ref": "#/components/schemas/BigInt" + }, + "Min": { + "$ref": "#/components/schemas/BigInt" + } + } + }, + "ElectionProof": { + "type": "object", + "required": [ + "VRFProof", + "WinCount" + ], + "properties": { + "VRFProof": { + "$ref": "#/components/schemas/Base64String" + }, + "WinCount": { + "type": "integer", + "format": "int64" + } + } + }, + "EthAddress": { + "type": "string" + }, + "EthBigInt": { + "type": "string" + }, + "EthBytes": { + "type": "string" + }, + "EthCallMessage": { + "type": "object", + "required": [ + "data", + "gas", + "gasPrice", + "value" + ], + "properties": { + "data": { + "$ref": "#/components/schemas/EthBytes" + }, + "from": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthAddress" + }, + { + "type": "null" + } + ] + }, + "gas": { + "$ref": "#/components/schemas/Uint64" + }, + "gasPrice": { + "$ref": "#/components/schemas/EthBigInt" + }, + "to": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthAddress" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/components/schemas/EthBigInt" + } + } + }, + "EthFeeHistoryResult": { + "type": "object", + "required": [ + "baseFeePerGas", + "gasUsedRatio", + "oldestBlock" + ], + "properties": { + "baseFeePerGas": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthBigInt" + } + }, + "gasUsedRatio": { + "type": "array", + "items": { + "type": "number", + "format": "double" + } + }, + "oldestBlock": { + "$ref": "#/components/schemas/Uint64" + }, + "reward": { + "type": [ + "array", + "null" + ], + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthBigInt" + } + } + } + } + }, + "EthFilterSpec": { + "description": "Represents a filter specification for querying Ethereum event logs. This struct can be used to specify criteria for filtering Ethereum event logs based on block range, address, topics, and block hash. It is useful for making requests to Ethereum nodes to fetch logs that match certain conditions.\n\n# Fields\n\n* `from_block` - Optional field interpreted as an epoch (in hex): - `\"latest\"`: latest mined block. - `\"earliest\"`: first block. - `\"pending\"`: blocks that have not yet been mined. If omitted, the default value is `\"latest\"`. This field is skipped during serialization if `None`.\n\n* `to_block` - Optional field interpreted as an epoch (in hex): - `\"latest\"`: latest mined block. - `\"earliest\"`: first block. - `\"pending\"`: blocks that have not yet been mined. If omitted, the default value is `\"latest\"`. This field is skipped during serialization if `None`.\n\n* `address` - Actor address or a list of addresses (`Vec`) from which event logs should originate. If the filter needs to match a single address, it can be specified as single element vector. This field is required and cannot be omitted.\n\n* `topics` - List of topics (`EthTopicSpec`) to be matched in the event logs.\n\n* `block_hash` - Optional field specifying a block hash (`Hash`) Restricts event logs returned to those emitted from messages contained in this tipset. When `block_hash` is provided, neither `from_block` nor `to_block` can be specified. This field is skipped during serialization if `None`. [the spec](https://github.com/filecoin-project/lotus/blob/475139ff95407ed9d55d3a2ef87e28da66512937/chain/types/ethtypes/eth_types.go#L602-L627).", + "type": "object", + "required": [ + "address", + "topics" + ], + "properties": { + "address": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthAddress" + } + }, + "blockHash": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthHash" + }, + { + "type": "null" + } + ] + }, + "fromBlock": { + "type": [ + "string", + "null" + ] + }, + "toBlock": { + "type": [ + "string", + "null" + ] + }, + "topics": { + "$ref": "#/components/schemas/EthTopicSpec" + } + } + }, + "EthHash": { + "type": "string" + }, + "EthHashList": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthHash" + } + }, + "EthLog": { + "description": "Represents the results of an event filter execution.", + "type": "object", + "required": [ + "address", + "blockHash", + "blockNumber", + "data", + "logIndex", + "removed", + "topics", + "transactionHash", + "transactionIndex" + ], + "properties": { + "address": { + "$ref": "#/components/schemas/EthAddress" + }, + "blockHash": { + "$ref": "#/components/schemas/EthHash" + }, + "blockNumber": { + "$ref": "#/components/schemas/Uint64" + }, + "data": { + "$ref": "#/components/schemas/EthBytes" + }, + "logIndex": { + "$ref": "#/components/schemas/Uint64" + }, + "removed": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthHash" + } + }, + "transactionHash": { + "$ref": "#/components/schemas/EthHash" + }, + "transactionIndex": { + "$ref": "#/components/schemas/Uint64" + } + } + }, + "EthSyncingResultLotusJson": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "object", + "required": [ + "currentblock", + "highestblock", + "startingblock" + ], + "properties": { + "currentblock": { + "type": "integer", + "format": "int64" + }, + "highestblock": { + "type": "integer", + "format": "int64" + }, + "startingblock": { + "type": "integer", + "format": "int64" + } + } + } + ] + }, + "EthTopicSpec": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthHashList" + } + }, + "EthTxReceipt": { + "type": "object", + "required": [ + "blockHash", + "blockNumber", + "cumulativeGasUsed", + "effectiveGasPrice", + "from", + "gasUsed", + "logs", + "logsBloom", + "root", + "status", + "transactionHash", + "transactionIndex", + "type" + ], + "properties": { + "blockHash": { + "$ref": "#/components/schemas/EthHash" + }, + "blockNumber": { + "$ref": "#/components/schemas/Uint64" + }, + "contractAddress": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthAddress" + }, + { + "type": "null" + } + ] + }, + "cumulativeGasUsed": { + "$ref": "#/components/schemas/Uint64" + }, + "effectiveGasPrice": { + "$ref": "#/components/schemas/EthBigInt" + }, + "from": { + "$ref": "#/components/schemas/EthAddress" + }, + "gasUsed": { + "$ref": "#/components/schemas/Uint64" + }, + "logs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthLog" + } + }, + "logsBloom": { + "$ref": "#/components/schemas/EthBytes" + }, + "root": { + "$ref": "#/components/schemas/EthHash" + }, + "status": { + "$ref": "#/components/schemas/Uint64" + }, + "to": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthAddress" + }, + { + "type": "null" + } + ] + }, + "transactionHash": { + "$ref": "#/components/schemas/EthHash" + }, + "transactionIndex": { + "$ref": "#/components/schemas/Uint64" + }, + "type": { + "$ref": "#/components/schemas/Uint64" + } + } + }, + "Event": { + "type": "object", + "required": [ + "Emitter", + "Entries" + ], + "properties": { + "Emitter": { + "description": "Actor ID", + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Entries": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EventEntry" + } + } + } + }, + "EventEntry": { + "type": "object", + "required": [ + "Codec", + "Flags", + "Key", + "Value" + ], + "properties": { + "Codec": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Flags": { + "type": "integer", + "format": "uint8", + "minimum": 0 + }, + "Key": { + "type": "string" + }, + "Value": { + "$ref": "#/components/schemas/Base64String" + } + } + }, + "ExecutionTrace": { + "type": "object", + "required": [ + "GasCharges", + "Msg", + "MsgRct", + "Subcalls" + ], + "properties": { + "GasCharges": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GasTrace" + } + }, + "InvokedActor": { + "anyOf": [ + { + "$ref": "#/components/schemas/ActorTrace" + }, + { + "type": "null" + } + ] + }, + "Msg": { + "$ref": "#/components/schemas/MessageTrace" + }, + "MsgRct": { + "$ref": "#/components/schemas/ReturnTrace" + }, + "Subcalls": { + "$ref": "#/components/schemas/Nullable_Array_of_ExecutionTrace" + } + } + }, + "ExitCode": { + "description": "`Newtype` wrapper for the FVM `ExitCode`.\n\n# Examples ``` # use forest_filecoin::doctest_private::ExitCode; let fvm2_success = fvm_shared2::error::ExitCode::new(0); let fvm3_success = fvm_shared3::error::ExitCode::new(0);\n\nlet shim_from_v2 = ExitCode::from(fvm2_success); let shim_from_v3 = ExitCode::from(fvm3_success);\n\nassert_eq!(shim_from_v2, shim_from_v3); assert_eq!(shim_from_v2, fvm2_success.into()); assert_eq!(shim_from_v3, fvm3_success.into()); ```", + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "ExtendedSectorInfo": { + "type": "object", + "required": [ + "SealProof", + "SealedCID", + "SectorKey", + "SectorNumber" + ], + "properties": { + "SealProof": { + "$ref": "#/components/schemas/int64" + }, + "SealedCID": { + "$ref": "#/components/schemas/Cid" + }, + "SectorKey": { + "$ref": "#/components/schemas/Nullable_Cid" + }, + "SectorNumber": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "F3PowerEntry": { + "description": "PowerEntry represents a single entry in the PowerTable, including ActorID and its StoragePower and PubKey.", + "type": "object", + "required": [ + "ID", + "Power", + "PubKey" + ], + "properties": { + "ID": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Power": { + "type": "string" + }, + "PubKey": { + "type": "string" + } + } + }, + "F3TipSet": { + "type": "object", + "required": [ + "beacon", + "epoch", + "key", + "timestamp" + ], + "properties": { + "beacon": { + "description": "The verifiable oracle randomness used to elect this block's author leader", + "type": "string" + }, + "epoch": { + "description": "The period in which a new block is generated. There may be multiple rounds in an epoch.", + "type": "integer", + "format": "int64" + }, + "key": { + "$ref": "#/components/schemas/F3TipSetKey" + }, + "timestamp": { + "description": "Block creation time, in seconds since the Unix epoch", + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "F3TipSetKey": { + "description": "TipSetKey is the canonically ordered concatenation of the block CIDs in a tipset.", + "type": "string" + }, + "FilterID": { + "$ref": "#/components/schemas/EthHash" + }, + "ForkUpgradeParams": { + "type": "object", + "required": [ + "BreezeGasTampingDuration", + "UpgradeAssemblyHeight", + "UpgradeBreezeHeight", + "UpgradeCalicoHeight", + "UpgradeChocolateHeight", + "UpgradeClausHeight", + "UpgradeDragonHeight", + "UpgradeHyggeHeight", + "UpgradeHyperdriveHeight", + "UpgradeIgnitionHeight", + "UpgradeKumquatHeight", + "UpgradeLiftoffHeight", + "UpgradeLightningHeight", + "UpgradeNorwegianHeight", + "UpgradeOhSnapHeight", + "UpgradeOrangeHeight", + "UpgradePersianHeight", + "UpgradePhoenixHeight", + "UpgradeRefuelHeight", + "UpgradeSharkHeight", + "UpgradeSkyrHeight", + "UpgradeSmokeHeight", + "UpgradeTapeHeight", + "UpgradeThunderHeight", + "UpgradeTrustHeight", + "UpgradeTurboHeight", + "UpgradeWaffleHeight", + "UpgradeWatermelonHeight" + ], + "properties": { + "BreezeGasTampingDuration": { + "type": "integer", + "format": "int64" + }, + "UpgradeAssemblyHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeBreezeHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeCalicoHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeChocolateHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeClausHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeDragonHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeHyggeHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeHyperdriveHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeIgnitionHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeKumquatHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeLiftoffHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeLightningHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeNorwegianHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeOhSnapHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeOrangeHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradePersianHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradePhoenixHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeRefuelHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeSharkHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeSkyrHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeSmokeHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeTapeHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeThunderHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeTrustHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeTurboHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeWaffleHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeWatermelonHeight": { + "type": "integer", + "format": "int64" + } + } + }, + "GasTrace": { + "type": "object", + "required": [ + "Name", + "cg", + "sg", + "tg", + "tt" + ], + "properties": { + "Name": { + "type": "string" + }, + "cg": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "sg": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "tg": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "tt": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "GossipBlock": { + "type": "object", + "required": [ + "BlsMessages", + "Header", + "SecpkMessages" + ], + "properties": { + "BlsMessages": { + "$ref": "#/components/schemas/Cid" + }, + "Header": { + "$ref": "#/components/schemas/BlockHeader" + }, + "SecpkMessages": { + "$ref": "#/components/schemas/Cid" + } + } + }, + "Int64": { + "type": "string" + }, + "KeyInfo": { + "type": "object", + "required": [ + "PrivateKey", + "Type" + ], + "properties": { + "PrivateKey": { + "$ref": "#/components/schemas/Base64String" + }, + "Type": { + "$ref": "#/components/schemas/SignatureTypeLotusJson" + } + } + }, + "MarketBalance": { + "description": "External format for returning market balance from state.", + "type": "object", + "required": [ + "Escrow", + "Locked" + ], + "properties": { + "Escrow": { + "$ref": "#/components/schemas/BigInt" + }, + "Locked": { + "$ref": "#/components/schemas/BigInt" + } + } + }, + "Message": { + "type": "object", + "required": [ + "From", + "To" + ], + "properties": { + "From": { + "$ref": "#/components/schemas/Address" + }, + "GasFeeCap": { + "default": "0", + "$ref": "#/components/schemas/BigInt" + }, + "GasLimit": { + "default": 0, + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "GasPremium": { + "default": "0", + "$ref": "#/components/schemas/BigInt" + }, + "Method": { + "default": 0, + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Nonce": { + "default": 0, + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Params": { + "$ref": "#/components/schemas/Nullable_Base64String" + }, + "To": { + "$ref": "#/components/schemas/Address" + }, + "Value": { + "default": "0", + "$ref": "#/components/schemas/BigInt" + }, + "Version": { + "default": 0, + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "MessageFilter": { + "type": "object", + "required": [ + "From", + "To" + ], + "properties": { + "From": { + "$ref": "#/components/schemas/Nullable_Address" + }, + "To": { + "$ref": "#/components/schemas/Nullable_Address" + } + } + }, + "MessageGasCost": { + "type": "object", + "required": [ + "BaseFeeBurn", + "GasUsed", + "Message", + "MinerPenalty", + "MinerTip", + "OverEstimationBurn", + "Refund", + "TotalCost" + ], + "properties": { + "BaseFeeBurn": { + "$ref": "#/components/schemas/BigInt" + }, + "GasUsed": { + "$ref": "#/components/schemas/BigInt" + }, + "Message": { + "$ref": "#/components/schemas/Nullable_Cid" + }, + "MinerPenalty": { + "$ref": "#/components/schemas/BigInt" + }, + "MinerTip": { + "$ref": "#/components/schemas/BigInt" + }, + "OverEstimationBurn": { + "$ref": "#/components/schemas/BigInt" + }, + "Refund": { + "$ref": "#/components/schemas/BigInt" + }, + "TotalCost": { + "$ref": "#/components/schemas/BigInt" + } + } + }, + "MessageLookup": { + "type": "object", + "required": [ + "Height", + "Message", + "Receipt", + "ReturnDec", + "TipSet" + ], + "properties": { + "Height": { + "type": "integer", + "format": "int64" + }, + "Message": { + "$ref": "#/components/schemas/Cid" + }, + "Receipt": { + "$ref": "#/components/schemas/Receipt" + }, + "ReturnDec": true, + "TipSet": { + "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" + } + } + }, + "MessageSendSpec": { + "type": "object", + "required": [ + "MaxFee" + ], + "properties": { + "MaxFee": { + "$ref": "#/components/schemas/BigInt" + } + } + }, + "MessageTrace": { + "type": "object", + "required": [ + "From", + "Method", + "Params", + "ParamsCodec", + "To", + "Value" + ], + "properties": { + "From": { + "$ref": "#/components/schemas/Address" + }, + "GasLimit": { + "type": [ + "integer", + "null" + ], + "format": "uint64", + "minimum": 0 + }, + "Method": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Params": { + "$ref": "#/components/schemas/Base64String" + }, + "ParamsCodec": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "ReadOnly": { + "type": [ + "boolean", + "null" + ] + }, + "To": { + "$ref": "#/components/schemas/Address" + }, + "Value": { + "$ref": "#/components/schemas/BigInt" + } + } + }, + "MinerInfo": { + "type": "object", + "required": [ + "Beneficiary", + "BeneficiaryTerm", + "ConsensusFaultElapsed", + "ControlAddresses", + "Multiaddrs", + "NewWorker", + "Owner", + "PeerId", + "PendingBeneficiaryTerm", + "PendingOwnerAddress", + "SectorSize", + "WindowPoStPartitionSectors", + "WindowPoStProofType", + "Worker", + "WorkerChangeEpoch" + ], + "properties": { + "Beneficiary": { + "$ref": "#/components/schemas/Address" + }, + "BeneficiaryTerm": { + "$ref": "#/components/schemas/BeneficiaryTerm" + }, + "ConsensusFaultElapsed": { + "type": "integer", + "format": "int64" + }, + "ControlAddresses": { + "$ref": "#/components/schemas/Nullable_Array_of_Address" + }, + "Multiaddrs": { + "$ref": "#/components/schemas/Nullable_Array_of_Base64String" + }, + "NewWorker": { + "$ref": "#/components/schemas/Nullable_Address" + }, + "Owner": { + "$ref": "#/components/schemas/Address" + }, + "PeerId": { + "$ref": "#/components/schemas/Nullable_String" + }, + "PendingBeneficiaryTerm": { + "$ref": "#/components/schemas/Nullable_PendingBeneficiaryChange" + }, + "PendingOwnerAddress": { + "$ref": "#/components/schemas/Nullable_Address" + }, + "SectorSize": { + "$ref": "#/components/schemas/SectorSize" + }, + "WindowPoStPartitionSectors": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "WindowPoStProofType": { + "type": "string" + }, + "Worker": { + "$ref": "#/components/schemas/Address" + }, + "WorkerChangeEpoch": { + "type": "integer", + "format": "int64" + } + } + }, + "MinerPartitions": { + "type": "object", + "required": [ + "ActiveSectors", + "AllSectors", + "FaultySectors", + "LiveSectors", + "RecoveringSectors" + ], + "properties": { + "ActiveSectors": { + "$ref": "#/components/schemas/BitField" + }, + "AllSectors": { + "$ref": "#/components/schemas/BitField" + }, + "FaultySectors": { + "$ref": "#/components/schemas/BitField" + }, + "LiveSectors": { + "$ref": "#/components/schemas/BitField" + }, + "RecoveringSectors": { + "$ref": "#/components/schemas/BitField" + } + } + }, + "MinerPower": { + "type": "object", + "required": [ + "HasMinPower", + "MinerPower", + "TotalPower" + ], + "properties": { + "HasMinPower": { + "type": "boolean" + }, + "MinerPower": { + "$ref": "#/components/schemas/Claim" + }, + "TotalPower": { + "$ref": "#/components/schemas/Claim" + } + } + }, + "MinerSectors": { + "type": "object", + "required": [ + "Active", + "Faulty", + "Live" + ], + "properties": { + "Active": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Faulty": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Live": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "MiningBaseInfo": { + "type": "object", + "required": [ + "BeaconEntries", + "EligibleForMining", + "MinerPower", + "NetworkPower", + "PrevBeaconEntry", + "SectorSize", + "Sectors", + "WorkerKey" + ], + "properties": { + "BeaconEntries": { + "$ref": "#/components/schemas/Nullable_Array_of_BeaconEntry" + }, + "EligibleForMining": { + "type": "boolean" + }, + "MinerPower": { + "$ref": "#/components/schemas/BigInt" + }, + "NetworkPower": { + "$ref": "#/components/schemas/BigInt" + }, + "PrevBeaconEntry": { + "$ref": "#/components/schemas/BeaconEntry" + }, + "SectorSize": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Sectors": { + "$ref": "#/components/schemas/Nullable_Array_of_ExtendedSectorInfo" + }, + "WorkerKey": { + "$ref": "#/components/schemas/Address" + } + } + }, + "MsigVesting": { + "type": "object", + "required": [ + "InitialBalance", + "StartEpoch", + "UnlockDuration" + ], + "properties": { + "InitialBalance": { + "$ref": "#/components/schemas/BigInt" + }, + "StartEpoch": { + "type": "integer", + "format": "int64" + }, + "UnlockDuration": { + "type": "integer", + "format": "int64" + } + } + }, + "NatStatusResult": { + "type": "object", + "required": [ + "Reachability" + ], + "properties": { + "PublicAddrs": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "Reachability": { + "type": "integer", + "format": "int32" + } + } + }, + "NetInfoResult": { + "type": "object", + "required": [ + "num_connections", + "num_established", + "num_peers", + "num_pending", + "num_pending_incoming", + "num_pending_outgoing" + ], + "properties": { + "num_connections": { + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "num_established": { + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "num_peers": { + "type": "integer", + "format": "uint", + "minimum": 0 + }, + "num_pending": { + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "num_pending_incoming": { + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "num_pending_outgoing": { + "type": "integer", + "format": "uint32", + "minimum": 0 + } + } + }, + "NetworkParams": { + "type": "object", + "required": [ + "BlockDelaySecs", + "ConsensusMinerMinPower", + "Eip155ChainID", + "ForkUpgradeParams", + "NetworkName", + "PreCommitChallengeDelay", + "SupportedProofTypes" + ], + "properties": { + "BlockDelaySecs": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "ConsensusMinerMinPower": { + "$ref": "#/components/schemas/BigInt" + }, + "Eip155ChainID": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "ForkUpgradeParams": { + "$ref": "#/components/schemas/ForkUpgradeParams" + }, + "NetworkName": { + "type": "string" + }, + "PreCommitChallengeDelay": { + "type": "integer", + "format": "int64" + }, + "SupportedProofTypes": { + "$ref": "#/components/schemas/int64" + } + } + }, + "NodeChainStatus": { + "type": "object", + "required": [ + "blocks_per_tipset_last_100", + "blocks_per_tipset_last_finality" + ], + "properties": { + "blocks_per_tipset_last_100": { + "type": "number", + "format": "double" + }, + "blocks_per_tipset_last_finality": { + "type": "number", + "format": "double" + } + } + }, + "NodePeerStatus": { + "type": "object", + "required": [ + "peers_to_publish_blocks", + "peers_to_publish_msgs" + ], + "properties": { + "peers_to_publish_blocks": { + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "peers_to_publish_msgs": { + "type": "integer", + "format": "uint32", + "minimum": 0 + } + } + }, + "NodeStatusResult": { + "type": "object", + "required": [ + "chain_status", + "peer_status", + "sync_status" + ], + "properties": { + "chain_status": { + "$ref": "#/components/schemas/NodeChainStatus" + }, + "peer_status": { + "$ref": "#/components/schemas/NodePeerStatus" + }, + "sync_status": { + "$ref": "#/components/schemas/NodeSyncStatus" + } + } + }, + "NodeSyncStatus": { + "type": "object", + "required": [ + "behind", + "epoch" + ], + "properties": { + "behind": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "epoch": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "NonEmpty_Array_of_BlockHeader": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BlockHeader" + }, + "minItems": 1 + }, + "NonEmpty_Array_of_Cid": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Cid" + }, + "minItems": 1 + }, + "Nonce": { + "type": "string" + }, + "Nullable_Address": { + "anyOf": [ + { + "$ref": "#/components/schemas/Address" + }, + { + "type": "null" + } + ] + }, + "Nullable_Array_of_Address": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Address" + } + }, + "Nullable_Array_of_Base64String": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Base64String" + } + }, + "Nullable_Array_of_BeaconEntry": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/BeaconEntry" + } + }, + "Nullable_Array_of_Cid": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + }, + "Nullable_Array_of_ExecutionTrace": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/ExecutionTrace" + } + }, + "Nullable_Array_of_ExtendedSectorInfo": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/ExtendedSectorInfo" + } + }, + "Nullable_Array_of_Message": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Message" + } + }, + "Nullable_Array_of_PoStProof": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/PoStProof" + } + }, + "Nullable_Array_of_SignedMessage": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/SignedMessage" + } + }, + "Nullable_Array_of_SyncState": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/SyncState" + } + }, + "Nullable_Array_of_uint64": { + "type": [ + "array", + "null" + ], + "items": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + "Nullable_Base64String": { + "anyOf": [ + { + "$ref": "#/components/schemas/Base64String" + }, + { + "type": "null" + } + ] + }, + "Nullable_Cid": { + "anyOf": [ + { + "$ref": "#/components/schemas/Cid" + }, + { + "type": "null" + } + ] + }, + "Nullable_DateTime": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "Nullable_ElectionProof": { + "anyOf": [ + { + "$ref": "#/components/schemas/ElectionProof" + }, + { + "type": "null" + } + ] + }, + "Nullable_PendingBeneficiaryChange": { + "anyOf": [ + { + "$ref": "#/components/schemas/PendingBeneficiaryChange" + }, + { + "type": "null" + } + ] + }, + "Nullable_Receipt": { + "anyOf": [ + { + "$ref": "#/components/schemas/Receipt" + }, + { + "type": "null" + } + ] + }, + "Nullable_Signature": { + "anyOf": [ + { + "$ref": "#/components/schemas/Signature" + }, + { + "type": "null" + } + ] + }, + "Nullable_String": { + "type": [ + "string", + "null" + ] + }, + "Nullable_Ticket": { + "anyOf": [ + { + "$ref": "#/components/schemas/Ticket" + }, + { + "type": "null" + } + ] + }, + "Nullable_Tipset": { + "anyOf": [ + { + "$ref": "#/components/schemas/Tipset" + }, + { + "type": "null" + } + ] + }, + "ObjStat": { + "type": "object", + "required": [ + "Links", + "Size" + ], + "properties": { + "Links": { + "type": "integer", + "format": "uint", + "minimum": 0 + }, + "Size": { + "type": "integer", + "format": "uint", + "minimum": 0 + } + } + }, + "PathChange_for_Tipset": { + "oneOf": [ + { + "type": "object", + "required": [ + "Type", + "Val" + ], + "properties": { + "Type": { + "type": "string", + "enum": [ + "revert" + ] + }, + "Val": { + "$ref": "#/components/schemas/Tipset" + } + } + }, + { + "type": "object", + "required": [ + "Type", + "Val" + ], + "properties": { + "Type": { + "type": "string", + "enum": [ + "apply" + ] + }, + "Val": { + "$ref": "#/components/schemas/Tipset" + } + } + } + ] + }, + "PendingBeneficiaryChange": { + "type": "object", + "required": [ + "ApprovedByBeneficiary", + "ApprovedByNominee", + "NewBeneficiary", + "NewExpiration", + "NewQuota" + ], + "properties": { + "ApprovedByBeneficiary": { + "type": "boolean" + }, + "ApprovedByNominee": { + "type": "boolean" + }, + "NewBeneficiary": { + "$ref": "#/components/schemas/Address" + }, + "NewExpiration": { + "type": "integer", + "format": "int64" + }, + "NewQuota": { + "$ref": "#/components/schemas/BigInt" + } + } + }, + "PoStProof": { + "type": "object", + "required": [ + "PoStProof", + "ProofBytes" + ], + "properties": { + "PoStProof": { + "$ref": "#/components/schemas/int64" + }, + "ProofBytes": { + "$ref": "#/components/schemas/Base64String" + } + } + }, + "PublicVersion": { + "description": "Represents the current version of the API.", + "type": "object", + "required": [ + "APIVersion", + "BlockDelay", + "Version" + ], + "properties": { + "APIVersion": { + "$ref": "#/components/schemas/ShiftingVersion" + }, + "BlockDelay": { + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "Version": { + "type": "string" + } + } + }, + "RPCSyncState": { + "type": "object", + "required": [ + "ActiveSyncs" + ], + "properties": { + "ActiveSyncs": { + "$ref": "#/components/schemas/Nullable_Array_of_SyncState" + } + } + }, + "Receipt": { + "type": "object", + "required": [ + "ExitCode", + "GasUsed", + "Return" + ], + "properties": { + "EventsRoot": { + "default": null, + "$ref": "#/components/schemas/Nullable_Cid" + }, + "ExitCode": { + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "GasUsed": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Return": { + "$ref": "#/components/schemas/Base64String" + } + } + }, + "ReturnTrace": { + "type": "object", + "required": [ + "ExitCode", + "Return", + "ReturnCodec" + ], + "properties": { + "ExitCode": { + "$ref": "#/components/schemas/ExitCode" + }, + "Return": { + "$ref": "#/components/schemas/Base64String" + }, + "ReturnCodec": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "SectorExpiration": { + "type": "object", + "required": [ + "Early", + "OnTime" + ], + "properties": { + "Early": { + "type": "integer", + "format": "int64" + }, + "OnTime": { + "type": "integer", + "format": "int64" + } + } + }, + "SectorLocation": { + "type": "object", + "required": [ + "Deadline", + "Partition" + ], + "properties": { + "Deadline": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Partition": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "SectorOnChainInfo": { + "type": "object", + "required": [ + "Activation", + "DealIDs", + "DealWeight", + "ExpectedDayReward", + "ExpectedStoragePledge", + "Expiration", + "Flags", + "InitialPledge", + "PowerBaseEpoch", + "ReplacedDayReward", + "SealProof", + "SealedCID", + "SectorKeyCID", + "SectorNumber", + "VerifiedDealWeight" + ], + "properties": { + "Activation": { + "description": "Epoch during which the sector proof was accepted", + "type": "integer", + "format": "int64" + }, + "DealIDs": { + "$ref": "#/components/schemas/Nullable_Array_of_uint64" + }, + "DealWeight": { + "description": "Integral of active deals over sector lifetime", + "$ref": "#/components/schemas/BigInt" + }, + "ExpectedDayReward": { + "description": "Expected one day projection of reward for sector computed at activation time", + "$ref": "#/components/schemas/BigInt" + }, + "ExpectedStoragePledge": { + "description": "Expected twenty day projection of reward for sector computed at activation time", + "$ref": "#/components/schemas/BigInt" + }, + "Expiration": { + "description": "Epoch during which the sector expires", + "type": "integer", + "format": "int64" + }, + "Flags": { + "description": "Additional flags, see [`fil_actor_miner_state::v12::SectorOnChainInfoFlags`]", + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "InitialPledge": { + "description": "Pledge collected to commit this sector", + "$ref": "#/components/schemas/BigInt" + }, + "PowerBaseEpoch": { + "description": "Epoch at which this sector's power was most recently updated", + "type": "integer", + "format": "int64" + }, + "ReplacedDayReward": { + "$ref": "#/components/schemas/BigInt" + }, + "SealProof": { + "description": "The seal proof type implies the PoSt proofs", + "type": "integer", + "format": "int64" + }, + "SealedCID": { + "description": "`CommR`", + "$ref": "#/components/schemas/Cid" + }, + "SectorKeyCID": { + "$ref": "#/components/schemas/Nullable_Cid" + }, + "SectorNumber": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "VerifiedDealWeight": { + "description": "Integral of active verified deals over sector lifetime", + "$ref": "#/components/schemas/BigInt" + } + } + }, + "SectorPreCommitInfo": { + "type": "object", + "required": [ + "DealIDs", + "Expiration", + "SealProof", + "SealRandEpoch", + "SealedCID", + "SectorNumber", + "UnsealedCid" + ], + "properties": { + "DealIDs": { + "$ref": "#/components/schemas/Nullable_Array_of_uint64" + }, + "Expiration": { + "type": "integer", + "format": "int64" + }, + "SealProof": { + "$ref": "#/components/schemas/int64" + }, + "SealRandEpoch": { + "type": "integer", + "format": "int64" + }, + "SealedCID": { + "$ref": "#/components/schemas/Cid" + }, + "SectorNumber": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "UnsealedCid": { + "$ref": "#/components/schemas/Nullable_Cid" + } + } + }, + "SectorPreCommitOnChainInfo": { + "type": "object", + "required": [ + "Info", + "PreCommitDeposit", + "PreCommitEpoch" + ], + "properties": { + "Info": { + "$ref": "#/components/schemas/SectorPreCommitInfo" + }, + "PreCommitDeposit": { + "$ref": "#/components/schemas/BigInt" + }, + "PreCommitEpoch": { + "type": "integer", + "format": "int64" + } + } + }, + "SectorSize": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "ShiftingVersion": { + "description": "Integer based value on version information. Highest order bits for Major, Mid order for Minor and lowest for Patch.", + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "Signature": { + "type": "object", + "required": [ + "Data", + "Type" + ], + "properties": { + "Data": { + "$ref": "#/components/schemas/Base64String" + }, + "Type": { + "$ref": "#/components/schemas/SignatureTypeLotusJson" + } + } + }, + "SignatureType": { + "description": "Signature variants for Filecoin signatures.", + "type": "string", + "enum": [ + "Secp256k1", + "Bls", + "Delegated" + ] + }, + "SignatureTypeLotusJson": { + "anyOf": [ + { + "type": "integer", + "format": "uint8", + "minimum": 0 + }, + { + "$ref": "#/components/schemas/SignatureType" + } + ] + }, + "SignedMessage": { + "type": "object", + "required": [ + "Message", + "Signature" + ], + "properties": { + "CID": { + "$ref": "#/components/schemas/Nullable_Cid" + }, + "Message": { + "$ref": "#/components/schemas/Message" + }, + "Signature": { + "$ref": "#/components/schemas/Signature" + } + } + }, + "SyncStage": { + "type": "string" + }, + "SyncState": { + "type": "object", + "required": [ + "Epoch", + "Message", + "Stage" + ], + "properties": { + "Base": { + "$ref": "#/components/schemas/Nullable_Tipset" + }, + "End": { + "$ref": "#/components/schemas/Nullable_DateTime" + }, + "Epoch": { + "type": "integer", + "format": "int64" + }, + "Message": { + "type": "string" + }, + "Stage": { + "$ref": "#/components/schemas/SyncStage" + }, + "Start": { + "$ref": "#/components/schemas/Nullable_DateTime" + }, + "Target": { + "$ref": "#/components/schemas/Nullable_Tipset" + } + } + }, + "Ticket": { + "type": "object", + "required": [ + "VRFProof" + ], + "properties": { + "VRFProof": { + "$ref": "#/components/schemas/Base64String" + } + } + }, + "Tipset": { + "$ref": "#/components/schemas/TipsetInner" + }, + "TipsetInner": { + "type": "object", + "required": [ + "Blocks", + "Cids", + "Height" + ], + "properties": { + "Blocks": { + "$ref": "#/components/schemas/NonEmpty_Array_of_BlockHeader" + }, + "Cids": { + "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" + }, + "Height": { + "type": "integer", + "format": "int64" + } + } + }, + "Transaction": { + "type": "object", + "required": [ + "Approved", + "ID", + "Method", + "Params", + "To", + "Value" + ], + "properties": { + "Approved": { + "$ref": "#/components/schemas/Nullable_Array_of_Address" + }, + "ID": { + "type": "integer", + "format": "int64" + }, + "Method": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Params": { + "$ref": "#/components/schemas/Base64String" + }, + "To": { + "$ref": "#/components/schemas/Address" + }, + "Value": { + "$ref": "#/components/schemas/BigInt" + } + } + }, + "Transactions": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ApiEthTx" + } + } + ] + }, + "Uint64": { + "type": "string" + }, + "int64": { + "type": "integer", + "format": "int64" + } + } + } +} From 37bad40ca86fb4f5360d9f77d1239e2ae4a27d4d Mon Sep 17 00:00:00 2001 From: elmattic Date: Wed, 25 Sep 2024 14:40:56 +0200 Subject: [PATCH 2/8] Add v1 spec --- .../specs/v1 forest_a99f7ebfe01_path_v1.json | 8189 +++++++++++++++++ 1 file changed, 8189 insertions(+) create mode 100644 src/bindings/specs/v1 forest_a99f7ebfe01_path_v1.json diff --git a/src/bindings/specs/v1 forest_a99f7ebfe01_path_v1.json b/src/bindings/specs/v1 forest_a99f7ebfe01_path_v1.json new file mode 100644 index 0000000..d63445f --- /dev/null +++ b/src/bindings/specs/v1 forest_a99f7ebfe01_path_v1.json @@ -0,0 +1,8189 @@ +{ + "openrpc": "1.3.2", + "info": { + "title": "forest", + "version": "0.20.0" + }, + "methods": [ + { + "name": "F3.Finalize", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSetKey" + } + } + ], + "result": { + "name": "F3.Finalize.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "F3.GetHead", + "params": [], + "result": { + "name": "F3.GetHead.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSet" + } + }, + "paramStructure": "by-position" + }, + { + "name": "F3.GetParent", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSetKey" + } + } + ], + "result": { + "name": "F3.GetParent.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSet" + } + }, + "paramStructure": "by-position" + }, + { + "name": "F3.GetParticipatingMinerIDs", + "params": [], + "result": { + "name": "F3.GetParticipatingMinerIDs.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "F3.GetPowerTable", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSetKey" + } + } + ], + "result": { + "name": "F3.GetPowerTable.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/F3PowerEntry" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "F3.GetTipset", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSetKey" + } + } + ], + "result": { + "name": "F3.GetTipset.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSet" + } + }, + "paramStructure": "by-position" + }, + { + "name": "F3.GetTipsetByEpoch", + "params": [ + { + "name": "epoch", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "result": { + "name": "F3.GetTipsetByEpoch.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSet" + } + }, + "paramStructure": "by-position" + }, + { + "name": "F3.ProtectPeer", + "params": [ + { + "name": "peer_id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "result": { + "name": "F3.ProtectPeer.Result", + "required": true, + "schema": { + "type": "boolean" + } + }, + "paramStructure": "by-position" + }, + { + "name": "F3.SignMessage", + "params": [ + { + "name": "pubkey", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + { + "name": "message", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + } + ], + "result": { + "name": "F3.SignMessage.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Signature" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.AuthNew", + "params": [ + { + "name": "permissions", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + }, + { + "name": "expiration_secs", + "required": true, + "schema": { + "type": [ + "integer", + "null" + ], + "format": "int64" + } + } + ], + "result": { + "name": "Filecoin.AuthNew.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.AuthVerify", + "params": [ + { + "name": "header_raw", + "required": true, + "schema": { + "type": "string" + } + } + ], + "result": { + "name": "Filecoin.AuthVerify.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainExport", + "params": [ + { + "name": "params", + "required": true, + "schema": { + "$ref": "#/components/schemas/ChainExportParams" + } + } + ], + "result": { + "name": "Filecoin.ChainExport.Result", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetBlock", + "params": [ + { + "name": "cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainGetBlock.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockHeader" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetBlockMessages", + "params": [ + { + "name": "cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainGetBlockMessages.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockMessages" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetEvents", + "params": [ + { + "name": "cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainGetEvents.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Event" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetGenesis", + "params": [], + "result": { + "name": "Filecoin.ChainGetGenesis.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Tipset" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetMessage", + "params": [ + { + "name": "msg_cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainGetMessage.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Message" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetMessagesInTipset", + "params": [ + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.ChainGetMessagesInTipset.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/ApiMessage" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetMinBaseFee", + "params": [ + { + "name": "lookback", + "required": true, + "schema": { + "type": "integer", + "format": "uint32", + "minimum": 0 + } + } + ], + "result": { + "name": "Filecoin.ChainGetMinBaseFee.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetParentMessages", + "params": [ + { + "name": "block_cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainGetParentMessages.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/ApiMessage" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetParentReceipts", + "params": [ + { + "name": "block_cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainGetParentReceipts.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/ApiReceipt" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetPath", + "params": [ + { + "name": "from", + "required": true, + "schema": { + "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" + } + }, + { + "name": "to", + "required": true, + "schema": { + "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainGetPath.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/PathChange_for_Tipset" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetTipSet", + "params": [ + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.ChainGetTipSet.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Tipset" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetTipSetAfterHeight", + "params": [ + { + "name": "height", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.ChainGetTipSetAfterHeight.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Tipset" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainGetTipSetByHeight", + "params": [ + { + "name": "height", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.ChainGetTipSetByHeight.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Tipset" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainHasObj", + "params": [ + { + "name": "cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainHasObj.Result", + "required": true, + "schema": { + "type": "boolean" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainHead", + "params": [], + "result": { + "name": "Filecoin.ChainHead.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Tipset" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainReadObj", + "params": [ + { + "name": "cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainReadObj.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainSetHead", + "params": [ + { + "name": "tsk", + "required": true, + "schema": { + "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" + } + } + ], + "result": { + "name": "Filecoin.ChainSetHead.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainStatObj", + "params": [ + { + "name": "obj_cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + }, + { + "name": "base_cid", + "required": true, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Cid" + }, + { + "type": "null" + } + ] + } + } + ], + "result": { + "name": "Filecoin.ChainStatObj.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/ObjStat" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.ChainTipSetWeight", + "params": [ + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.ChainTipSetWeight.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthAccounts", + "params": [], + "result": { + "name": "Filecoin.EthAccounts.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthAddressToFilecoinAddress", + "params": [ + { + "name": "eth_address", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthAddress" + } + } + ], + "result": { + "name": "Filecoin.EthAddressToFilecoinAddress.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthBlockNumber", + "params": [], + "result": { + "name": "Filecoin.EthBlockNumber.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthCall", + "params": [ + { + "name": "tx", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthCallMessage" + } + }, + { + "name": "block_param", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockNumberOrHash" + } + } + ], + "result": { + "name": "Filecoin.EthCall.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthBytes" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthChainId", + "params": [], + "result": { + "name": "Filecoin.EthChainId.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthEstimateGas", + "params": [ + { + "name": "tx", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthCallMessage" + } + }, + { + "name": "block_param", + "required": true, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/BlockNumberOrHash" + }, + { + "type": "null" + } + ] + } + } + ], + "result": { + "name": "Filecoin.EthEstimateGas.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Uint64" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthFeeHistory", + "params": [ + { + "name": "block_count", + "required": true, + "schema": { + "$ref": "#/components/schemas/Uint64" + } + }, + { + "name": "newest_block_number", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockNumberOrPredefined" + } + }, + { + "name": "reward_percentiles", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "type": "number", + "format": "double" + } + } + } + ], + "result": { + "name": "Filecoin.EthFeeHistory.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthFeeHistoryResult" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGasPrice", + "params": [], + "result": { + "name": "Filecoin.EthGasPrice.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthBigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetBalance", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthAddress" + } + }, + { + "name": "block_param", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockNumberOrHash" + } + } + ], + "result": { + "name": "Filecoin.EthGetBalance.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthBigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetBlockByHash", + "params": [ + { + "name": "block_param", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockNumberOrHash" + } + }, + { + "name": "full_tx_info", + "required": true, + "schema": { + "type": "boolean" + } + } + ], + "result": { + "name": "Filecoin.EthGetBlockByHash.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Block" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetBlockByNumber", + "params": [ + { + "name": "block_param", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockNumberOrHash" + } + }, + { + "name": "full_tx_info", + "required": true, + "schema": { + "type": "boolean" + } + } + ], + "result": { + "name": "Filecoin.EthGetBlockByNumber.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Block" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetBlockTransactionCountByHash", + "params": [ + { + "name": "block_hash", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthHash" + } + } + ], + "result": { + "name": "Filecoin.EthGetBlockTransactionCountByHash.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Uint64" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetBlockTransactionCountByNumber", + "params": [ + { + "name": "block_number", + "required": true, + "schema": { + "$ref": "#/components/schemas/Int64" + } + } + ], + "result": { + "name": "Filecoin.EthGetBlockTransactionCountByNumber.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Uint64" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetCode", + "params": [ + { + "name": "eth_address", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthAddress" + } + }, + { + "name": "block_number_or_hash", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockNumberOrHash" + } + } + ], + "result": { + "name": "Filecoin.EthGetCode.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthBytes" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetMessageCidByTransactionHash", + "params": [ + { + "name": "tx_hash", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthHash" + } + } + ], + "result": { + "name": "Filecoin.EthGetMessageCidByTransactionHash.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Cid" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetStorageAt", + "params": [ + { + "name": "eth_address", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthAddress" + } + }, + { + "name": "position", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthBytes" + } + }, + { + "name": "block_number_or_hash", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockNumberOrHash" + } + } + ], + "result": { + "name": "Filecoin.EthGetStorageAt.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthBytes" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetTransactionByBlockHashAndIndex", + "params": [ + { + "name": "p1", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthHash" + } + }, + { + "name": "p2", + "required": true, + "schema": { + "$ref": "#/components/schemas/Uint64" + } + } + ], + "result": { + "name": "Filecoin.EthGetTransactionByBlockHashAndIndex.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/ApiEthTx" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetTransactionByBlockNumberAndIndex", + "params": [ + { + "name": "p1", + "required": true, + "schema": { + "$ref": "#/components/schemas/Uint64" + } + }, + { + "name": "p2", + "required": true, + "schema": { + "$ref": "#/components/schemas/Uint64" + } + } + ], + "result": { + "name": "Filecoin.EthGetTransactionByBlockNumberAndIndex.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/ApiEthTx" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetTransactionByHash", + "params": [ + { + "name": "tx_hash", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthHash" + } + } + ], + "result": { + "name": "Filecoin.EthGetTransactionByHash.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/ApiEthTx" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetTransactionByHashLimited", + "params": [ + { + "name": "tx_hash", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthHash" + } + }, + { + "name": "limit", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "result": { + "name": "Filecoin.EthGetTransactionByHashLimited.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/ApiEthTx" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetTransactionCount", + "params": [ + { + "name": "sender", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthAddress" + } + }, + { + "name": "block_param", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockNumberOrHash" + } + } + ], + "result": { + "name": "Filecoin.EthGetTransactionCount.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Uint64" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetTransactionHashByCid", + "params": [ + { + "name": "cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.EthGetTransactionHashByCid.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthHash" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthGetTransactionReceipt", + "params": [ + { + "name": "tx_hash", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthHash" + } + } + ], + "result": { + "name": "Filecoin.EthGetTransactionReceipt.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthTxReceipt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthMaxPriorityFeePerGas", + "params": [], + "result": { + "name": "Filecoin.EthMaxPriorityFeePerGas.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthBigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthNewBlockFilter", + "params": [], + "result": { + "name": "Filecoin.EthNewBlockFilter.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/FilterID" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthNewFilter", + "params": [ + { + "name": "filter_spec", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthFilterSpec" + } + } + ], + "result": { + "name": "Filecoin.EthNewFilter.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/FilterID" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthNewPendingTransactionFilter", + "params": [], + "result": { + "name": "Filecoin.EthNewPendingTransactionFilter.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/FilterID" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthProtocolVersion", + "params": [], + "result": { + "name": "Filecoin.EthProtocolVersion.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Uint64" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthSyncing", + "params": [], + "result": { + "name": "Filecoin.EthSyncing.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthSyncingResultLotusJson" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.EthUninstallFilter", + "params": [ + { + "name": "filter_id", + "required": true, + "schema": { + "$ref": "#/components/schemas/FilterID" + } + } + ], + "result": { + "name": "Filecoin.EthUninstallFilter.Result", + "required": true, + "schema": { + "type": "boolean" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.F3GetCertificate", + "params": [ + { + "name": "instance", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + ], + "result": { + "name": "Filecoin.F3GetCertificate.Result", + "required": true, + "schema": true + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.F3GetECPowerTable", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSetKey" + } + } + ], + "result": { + "name": "Filecoin.F3GetECPowerTable.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/F3PowerEntry" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.F3GetF3PowerTable", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "$ref": "#/components/schemas/F3TipSetKey" + } + } + ], + "result": { + "name": "Filecoin.F3GetF3PowerTable.Result", + "required": true, + "schema": true + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.F3GetLatestCertificate", + "params": [], + "result": { + "name": "Filecoin.F3GetLatestCertificate.Result", + "required": true, + "schema": true + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.F3Participate", + "params": [ + { + "name": "miner_address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "new_lease_expiration", + "required": true, + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "name": "old_lease_expiration", + "required": true, + "schema": { + "type": "string", + "format": "date-time" + } + } + ], + "result": { + "name": "Filecoin.F3Participate.Result", + "required": true, + "schema": { + "type": "boolean" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.GasEstimateFeeCap", + "params": [ + { + "name": "message", + "required": true, + "schema": { + "$ref": "#/components/schemas/Message" + } + }, + { + "name": "max_queue_blocks", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.GasEstimateFeeCap.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.GasEstimateGasLimit", + "params": [ + { + "name": "msg", + "required": true, + "schema": { + "$ref": "#/components/schemas/Message" + } + }, + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.GasEstimateGasLimit.Result", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.GasEstimateGasPremium", + "params": [ + { + "name": "nblocksincl", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "sender", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "gas_limit", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.GasEstimateGasPremium.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.GasEstimateMessageGas", + "params": [ + { + "name": "msg", + "required": true, + "schema": { + "$ref": "#/components/schemas/Message" + } + }, + { + "name": "spec", + "required": true, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/MessageSendSpec" + }, + { + "type": "null" + } + ] + } + }, + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.GasEstimateMessageGas.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Message" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.GetActorEventsRaw", + "params": [ + { + "name": "filter", + "required": true, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/ActorEventFilter" + }, + { + "type": "null" + } + ] + } + } + ], + "result": { + "name": "Filecoin.GetActorEventsRaw.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/ActorEvent" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MarketAddBalance", + "params": [ + { + "name": "wallet", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "amount", + "required": true, + "schema": { + "$ref": "#/components/schemas/BigInt" + } + } + ], + "result": { + "name": "Filecoin.MarketAddBalance.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MinerCreateBlock", + "params": [ + { + "name": "block_template", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockTemplate" + } + } + ], + "result": { + "name": "Filecoin.MinerCreateBlock.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BlockMessage" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MinerGetBaseInfo", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "epoch", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.MinerGetBaseInfo.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/MiningBaseInfo" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MpoolBatchPush", + "params": [ + { + "name": "msgs", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/SignedMessage" + } + } + } + ], + "result": { + "name": "Filecoin.MpoolBatchPush.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MpoolBatchPushUntrusted", + "params": [ + { + "name": "msgs", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/SignedMessage" + } + } + } + ], + "result": { + "name": "Filecoin.MpoolBatchPushUntrusted.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MpoolGetNonce", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + } + ], + "result": { + "name": "Filecoin.MpoolGetNonce.Result", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MpoolPending", + "params": [ + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.MpoolPending.Result", + "required": true, + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SignedMessage" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MpoolPush", + "params": [ + { + "name": "msg", + "required": true, + "schema": { + "$ref": "#/components/schemas/SignedMessage" + } + } + ], + "result": { + "name": "Filecoin.MpoolPush.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MpoolPushMessage", + "params": [ + { + "name": "usmg", + "required": true, + "schema": { + "$ref": "#/components/schemas/Message" + } + }, + { + "name": "spec", + "required": true, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/MessageSendSpec" + }, + { + "type": "null" + } + ] + } + } + ], + "result": { + "name": "Filecoin.MpoolPushMessage.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/SignedMessage" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MpoolPushUntrusted", + "params": [ + { + "name": "msg", + "required": true, + "schema": { + "$ref": "#/components/schemas/SignedMessage" + } + } + ], + "result": { + "name": "Filecoin.MpoolPushUntrusted.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MpoolSelect", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + }, + { + "name": "ticket_quality", + "required": true, + "schema": { + "type": "number", + "format": "double" + } + } + ], + "result": { + "name": "Filecoin.MpoolSelect.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/SignedMessage" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MsigGetAvailableBalance", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.MsigGetAvailableBalance.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MsigGetPending", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.MsigGetPending.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Transaction" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MsigGetVested", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "start_tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + }, + { + "name": "end_tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.MsigGetVested.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.MsigGetVestingSchedule", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.MsigGetVestingSchedule.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/MsigVesting" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetAddrsListen", + "params": [], + "result": { + "name": "Filecoin.NetAddrsListen.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/AddrInfo" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetAgentVersion", + "params": [ + { + "name": "id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "result": { + "name": "Filecoin.NetAgentVersion.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetAutoNatStatus", + "params": [], + "result": { + "name": "Filecoin.NetAutoNatStatus.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/NatStatusResult" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetConnect", + "params": [ + { + "name": "info", + "required": true, + "schema": { + "$ref": "#/components/schemas/AddrInfo" + } + } + ], + "result": { + "name": "Filecoin.NetConnect.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetDisconnect", + "params": [ + { + "name": "id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "result": { + "name": "Filecoin.NetDisconnect.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetFindPeer", + "params": [ + { + "name": "peer_id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "result": { + "name": "Filecoin.NetFindPeer.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/AddrInfo" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetListening", + "params": [], + "result": { + "name": "Filecoin.NetListening.Result", + "required": true, + "schema": { + "type": "boolean" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetPeers", + "params": [], + "result": { + "name": "Filecoin.NetPeers.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/AddrInfo" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetProtectAdd", + "params": [ + { + "name": "peer_ids", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + } + ], + "result": { + "name": "Filecoin.NetProtectAdd.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetProtectList", + "params": [], + "result": { + "name": "Filecoin.NetProtectList.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetProtectRemove", + "params": [ + { + "name": "peer_ids", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + } + ], + "result": { + "name": "Filecoin.NetProtectRemove.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NetVersion", + "params": [], + "result": { + "name": "Filecoin.NetVersion.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.NodeStatus", + "params": [], + "result": { + "name": "Filecoin.NodeStatus.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/NodeStatusResult" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.Session", + "params": [], + "result": { + "name": "Filecoin.Session.Result", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.Shutdown", + "params": [], + "result": { + "name": "Filecoin.Shutdown.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StartTime", + "params": [], + "result": { + "name": "Filecoin.StartTime.Result", + "required": true, + "schema": { + "type": "string", + "format": "date-time" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateAccountKey", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateAccountKey.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateCall", + "params": [ + { + "name": "message", + "required": true, + "schema": { + "$ref": "#/components/schemas/Message" + } + }, + { + "name": "tsk", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateCall.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/ApiInvocResult" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateCirculatingSupply", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateCirculatingSupply.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateDealProviderCollateralBounds", + "params": [ + { + "name": "size", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "verified", + "required": true, + "schema": { + "type": "boolean" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateDealProviderCollateralBounds.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/DealCollateralBounds" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetActor", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetActor.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/ActorState" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetAllAllocations", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetAllAllocations.Result", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/Allocation" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetAllClaims", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetAllClaims.Result", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ClaimLotusJson" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetAllocation", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "allocation_id", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetAllocation.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Allocation" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetAllocationForPendingDeal", + "params": [ + { + "name": "deal_id", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetAllocationForPendingDeal.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Allocation" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetAllocationIdForPendingDeal", + "params": [ + { + "name": "deal_id", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetAllocationIdForPendingDeal.Result", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetAllocations", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetAllocations.Result", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/Allocation" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetBeaconEntry", + "params": [ + { + "name": "epoch", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "result": { + "name": "Filecoin.StateGetBeaconEntry.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BeaconEntry" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetClaim", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "claim_id", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetClaim.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/ClaimLotusJson" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetClaims", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetClaims.Result", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ClaimLotusJson" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetNetworkParams", + "params": [], + "result": { + "name": "Filecoin.StateGetNetworkParams.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/NetworkParams" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetRandomnessDigestFromBeacon", + "params": [ + { + "name": "rand_epoch", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetRandomnessDigestFromBeacon.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetRandomnessDigestFromTickets", + "params": [ + { + "name": "rand_epoch", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetRandomnessDigestFromTickets.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetRandomnessFromBeacon", + "params": [ + { + "name": "personalization", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "rand_epoch", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "entropy", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetRandomnessFromBeacon.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetRandomnessFromTickets", + "params": [ + { + "name": "personalization", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "rand_epoch", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "entropy", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetRandomnessFromTickets.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateGetReceipt", + "params": [ + { + "name": "cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateGetReceipt.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Receipt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateListActors", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateListActors.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Address" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateListMessages", + "params": [ + { + "name": "message_filter", + "required": true, + "schema": { + "$ref": "#/components/schemas/MessageFilter" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + }, + { + "name": "max_height", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "result": { + "name": "Filecoin.StateListMessages.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateListMiners", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateListMiners.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Address" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateLookupID", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateLookupID.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateLookupRobustAddress", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateLookupRobustAddress.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMarketBalance", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMarketBalance.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/MarketBalance" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMarketDeals", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMarketDeals.Result", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ApiMarketDeal" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMarketParticipants", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMarketParticipants.Result", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/MarketBalance" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMarketStorageDeal", + "params": [ + { + "name": "deal_id", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMarketStorageDeal.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/ApiMarketDeal" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerActiveSectors", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerActiveSectors.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/SectorOnChainInfo" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerAllocated", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerAllocated.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BitField" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerAvailableBalance", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerAvailableBalance.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerDeadlines", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerDeadlines.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/ApiDeadline" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerFaults", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerFaults.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BitField" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerInfo", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerInfo.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/MinerInfo" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerInitialPledgeCollateral", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "sector_pre_commit_info", + "required": true, + "schema": { + "$ref": "#/components/schemas/SectorPreCommitInfo" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerInitialPledgeCollateral.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerPartitions", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "deadline_index", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerPartitions.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/MinerPartitions" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerPower", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerPower.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/MinerPower" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerPreCommitDepositForPower", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "sector_pre_commit_info", + "required": true, + "schema": { + "$ref": "#/components/schemas/SectorPreCommitInfo" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerPreCommitDepositForPower.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerProvingDeadline", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerProvingDeadline.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/ApiDeadlineInfo" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerRecoveries", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerRecoveries.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BitField" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerSectorAllocated", + "params": [ + { + "name": "miner_address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "sector_number", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerSectorAllocated.Result", + "required": true, + "schema": { + "type": "boolean" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerSectorCount", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerSectorCount.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/MinerSectors" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateMinerSectors", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "sectors", + "required": true, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/BitField" + }, + { + "type": "null" + } + ] + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateMinerSectors.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/SectorOnChainInfo" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateNetworkName", + "params": [], + "result": { + "name": "Filecoin.StateNetworkName.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateNetworkVersion", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateNetworkVersion.Result", + "required": true, + "schema": { + "type": "integer", + "format": "uint32", + "minimum": 0 + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateReadState", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateReadState.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/ApiActorState" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateReplay", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + }, + { + "name": "message_cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.StateReplay.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/ApiInvocResult" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateSearchMsg", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + }, + { + "name": "message_cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + }, + { + "name": "look_back_limit", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "allow_replaced", + "required": true, + "schema": { + "type": "boolean" + } + } + ], + "result": { + "name": "Filecoin.StateSearchMsg.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/MessageLookup" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateSectorExpiration", + "params": [ + { + "name": "miner_address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "sector_number", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateSectorExpiration.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/SectorExpiration" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateSectorGetInfo", + "params": [ + { + "name": "miner_address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "sector_number", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateSectorGetInfo.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/SectorOnChainInfo" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateSectorPartition", + "params": [ + { + "name": "miner_address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "sector_number", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateSectorPartition.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/SectorLocation" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateSectorPreCommitInfo", + "params": [ + { + "name": "miner_address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "sector_number", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateSectorPreCommitInfo.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/SectorPreCommitOnChainInfo" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateVMCirculatingSupplyInternal", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateVMCirculatingSupplyInternal.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/CirculatingSupply" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateVerifiedClientStatus", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateVerifiedClientStatus.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/BigInt" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateVerifiedRegistryRootKey", + "params": [ + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateVerifiedRegistryRootKey.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateVerifierStatus", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "tipset_key", + "required": true, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + } + } + ], + "result": { + "name": "Filecoin.StateVerifierStatus.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/BigInt" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.StateWaitMsg", + "params": [ + { + "name": "message_cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + }, + { + "name": "confidence", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "look_back_limit", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "allow_replaced", + "required": true, + "schema": { + "type": "boolean" + } + } + ], + "result": { + "name": "Filecoin.StateWaitMsg.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/MessageLookup" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.SyncCheckBad", + "params": [ + { + "name": "cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.SyncCheckBad.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.SyncMarkBad", + "params": [ + { + "name": "cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + } + ], + "result": { + "name": "Filecoin.SyncMarkBad.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.SyncState", + "params": [], + "result": { + "name": "Filecoin.SyncState.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/RPCSyncState" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.SyncSubmitBlock", + "params": [ + { + "name": "blk", + "required": true, + "schema": { + "$ref": "#/components/schemas/GossipBlock" + } + } + ], + "result": { + "name": "Filecoin.SyncSubmitBlock.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.Version", + "params": [], + "result": { + "name": "Filecoin.Version.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/PublicVersion" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletBalance", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + } + ], + "result": { + "name": "Filecoin.WalletBalance.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/BigInt" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletDefaultAddress", + "params": [], + "result": { + "name": "Filecoin.WalletDefaultAddress.Result", + "required": false, + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Address" + }, + { + "type": "null" + } + ] + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletDelete", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + } + ], + "result": { + "name": "Filecoin.WalletDelete.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletExport", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + } + ], + "result": { + "name": "Filecoin.WalletExport.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/KeyInfo" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletHas", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + } + ], + "result": { + "name": "Filecoin.WalletHas.Result", + "required": true, + "schema": { + "type": "boolean" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletImport", + "params": [ + { + "name": "key", + "required": true, + "schema": { + "$ref": "#/components/schemas/KeyInfo" + } + } + ], + "result": { + "name": "Filecoin.WalletImport.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletList", + "params": [], + "result": { + "name": "Filecoin.WalletList.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Address" + } + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletNew", + "params": [ + { + "name": "signature_type", + "required": true, + "schema": { + "$ref": "#/components/schemas/SignatureTypeLotusJson" + } + } + ], + "result": { + "name": "Filecoin.WalletNew.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletSetDefault", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + } + ], + "result": { + "name": "Filecoin.WalletSetDefault.Result", + "required": true, + "schema": { + "type": "null" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletSign", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "message", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + } + ], + "result": { + "name": "Filecoin.WalletSign.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Signature" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletSignMessage", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "message", + "required": true, + "schema": { + "$ref": "#/components/schemas/Message" + } + } + ], + "result": { + "name": "Filecoin.WalletSignMessage.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/SignedMessage" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletValidateAddress", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "type": "string" + } + } + ], + "result": { + "name": "Filecoin.WalletValidateAddress.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.WalletVerify", + "params": [ + { + "name": "address", + "required": true, + "schema": { + "$ref": "#/components/schemas/Address" + } + }, + { + "name": "message", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + { + "name": "signature", + "required": true, + "schema": { + "$ref": "#/components/schemas/Signature" + } + } + ], + "result": { + "name": "Filecoin.WalletVerify.Result", + "required": true, + "schema": { + "type": "boolean" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.Web3ClientVersion", + "params": [], + "result": { + "name": "Filecoin.Web3ClientVersion.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Forest.NetInfo", + "params": [], + "result": { + "name": "Forest.NetInfo.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/NetInfoResult" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Forest.StateCompute", + "params": [ + { + "name": "epoch", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "result": { + "name": "Forest.StateCompute.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Forest.StateFetchRoot", + "params": [ + { + "name": "root_cid", + "required": true, + "schema": { + "$ref": "#/components/schemas/Cid" + } + }, + { + "name": "save_to_file", + "required": true, + "schema": { + "type": [ + "string", + "null" + ] + } + } + ], + "result": { + "name": "Forest.StateFetchRoot.Result", + "required": true, + "schema": { + "type": "string" + } + }, + "paramStructure": "by-position" + } + ], + "components": { + "schemas": { + "ActorEvent": { + "type": "object", + "required": [ + "emitter", + "entries", + "height", + "msgCid", + "reverted", + "tipsetKey" + ], + "properties": { + "emitter": { + "$ref": "#/components/schemas/Address" + }, + "entries": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EventEntry" + } + }, + "height": { + "type": "integer", + "format": "int64" + }, + "msgCid": { + "$ref": "#/components/schemas/Cid" + }, + "reverted": { + "type": "boolean" + }, + "tipsetKey": { + "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" + } + } + }, + "ActorEventBlock": { + "type": "object", + "required": [ + "codec", + "value" + ], + "properties": { + "codec": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "value": { + "$ref": "#/components/schemas/Base64String" + } + } + }, + "ActorEventFilter": { + "type": "object", + "properties": { + "addresses": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Address" + } + }, + "fields": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ActorEventBlock" + } + } + }, + "fromHeight": { + "type": [ + "integer", + "null" + ], + "format": "int64" + }, + "tipsetKey": { + "anyOf": [ + { + "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" + }, + { + "type": "null" + } + ] + }, + "toHeight": { + "type": [ + "integer", + "null" + ], + "format": "int64" + } + } + }, + "ActorState": { + "type": "object", + "required": [ + "Balance", + "Code", + "Head", + "Nonce" + ], + "properties": { + "Balance": { + "$ref": "#/components/schemas/BigInt" + }, + "Code": { + "$ref": "#/components/schemas/Cid" + }, + "DelegatedAddress": { + "$ref": "#/components/schemas/Nullable_Address" + }, + "Head": { + "$ref": "#/components/schemas/Cid" + }, + "Nonce": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "ActorTrace": { + "type": "object", + "required": [ + "Id", + "State" + ], + "properties": { + "Id": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "State": { + "$ref": "#/components/schemas/ActorState" + } + } + }, + "AddrInfo": { + "type": "object", + "required": [ + "Addrs", + "ID" + ], + "properties": { + "Addrs": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true + }, + "ID": { + "type": "string" + } + } + }, + "Address": { + "type": "string" + }, + "Allocation": { + "type": "object", + "required": [ + "Client", + "Data", + "Expiration", + "Provider", + "Size", + "TermMax", + "TermMin" + ], + "properties": { + "Client": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Data": { + "$ref": "#/components/schemas/Cid" + }, + "Expiration": { + "type": "integer", + "format": "int64" + }, + "Provider": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Size": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "TermMax": { + "type": "integer", + "format": "int64" + }, + "TermMin": { + "type": "integer", + "format": "int64" + } + } + }, + "ApiActorState": { + "type": "object", + "required": [ + "Balance", + "Code", + "State" + ], + "properties": { + "Balance": { + "$ref": "#/components/schemas/BigInt" + }, + "Code": { + "$ref": "#/components/schemas/Cid" + }, + "State": { + "$ref": "#/components/schemas/ApiState" + } + } + }, + "ApiDeadline": { + "type": "object", + "required": [ + "DisputableProofCount", + "PostSubmissions" + ], + "properties": { + "DisputableProofCount": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "PostSubmissions": { + "$ref": "#/components/schemas/BitField" + } + } + }, + "ApiDeadlineInfo": { + "type": "string" + }, + "ApiDealProposal": { + "type": "object", + "required": [ + "Client", + "ClientCollateral", + "EndEpoch", + "Label", + "PieceCID", + "PieceSize", + "Provider", + "ProviderCollateral", + "StartEpoch", + "StoragePricePerEpoch", + "VerifiedDeal" + ], + "properties": { + "Client": { + "$ref": "#/components/schemas/Address" + }, + "ClientCollateral": { + "$ref": "#/components/schemas/BigInt" + }, + "EndEpoch": { + "type": "integer", + "format": "int64" + }, + "Label": { + "type": "string" + }, + "PieceCID": { + "$ref": "#/components/schemas/Cid" + }, + "PieceSize": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Provider": { + "$ref": "#/components/schemas/Address" + }, + "ProviderCollateral": { + "$ref": "#/components/schemas/BigInt" + }, + "StartEpoch": { + "type": "integer", + "format": "int64" + }, + "StoragePricePerEpoch": { + "$ref": "#/components/schemas/BigInt" + }, + "VerifiedDeal": { + "type": "boolean" + } + } + }, + "ApiDealState": { + "type": "object", + "required": [ + "LastUpdatedEpoch", + "SectorStartEpoch", + "SlashEpoch" + ], + "properties": { + "LastUpdatedEpoch": { + "type": "integer", + "format": "int64" + }, + "SectorStartEpoch": { + "type": "integer", + "format": "int64" + }, + "SlashEpoch": { + "type": "integer", + "format": "int64" + } + } + }, + "ApiEthTx": { + "type": "object", + "required": [ + "blockHash", + "blockNumber", + "chainId", + "from", + "gas", + "hash", + "input", + "nonce", + "r", + "s", + "transactionIndex", + "type", + "v", + "value" + ], + "properties": { + "accessList": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/EthHash" + } + }, + "blockHash": { + "$ref": "#/components/schemas/EthHash" + }, + "blockNumber": { + "$ref": "#/components/schemas/Uint64" + }, + "chainId": { + "$ref": "#/components/schemas/Uint64" + }, + "from": { + "$ref": "#/components/schemas/EthAddress" + }, + "gas": { + "$ref": "#/components/schemas/Uint64" + }, + "gasPrice": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthBigInt" + }, + { + "type": "null" + } + ] + }, + "hash": { + "$ref": "#/components/schemas/EthHash" + }, + "input": { + "$ref": "#/components/schemas/EthBytes" + }, + "maxFeePerGas": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthBigInt" + }, + { + "type": "null" + } + ] + }, + "maxPriorityFeePerGas": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthBigInt" + }, + { + "type": "null" + } + ] + }, + "nonce": { + "$ref": "#/components/schemas/Uint64" + }, + "r": { + "$ref": "#/components/schemas/EthBigInt" + }, + "s": { + "$ref": "#/components/schemas/EthBigInt" + }, + "to": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthAddress" + }, + { + "type": "null" + } + ] + }, + "transactionIndex": { + "$ref": "#/components/schemas/Uint64" + }, + "type": { + "$ref": "#/components/schemas/Uint64" + }, + "v": { + "$ref": "#/components/schemas/EthBigInt" + }, + "value": { + "$ref": "#/components/schemas/EthBigInt" + } + } + }, + "ApiInvocResult": { + "type": "object", + "required": [ + "Duration", + "Error", + "GasCost", + "Msg", + "MsgCid", + "MsgRct" + ], + "properties": { + "Duration": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Error": { + "type": "string" + }, + "ExecutionTrace": { + "anyOf": [ + { + "$ref": "#/components/schemas/ExecutionTrace" + }, + { + "type": "null" + } + ] + }, + "GasCost": { + "$ref": "#/components/schemas/MessageGasCost" + }, + "Msg": { + "$ref": "#/components/schemas/Message" + }, + "MsgCid": { + "$ref": "#/components/schemas/Cid" + }, + "MsgRct": { + "$ref": "#/components/schemas/Nullable_Receipt" + } + } + }, + "ApiMarketDeal": { + "type": "object", + "required": [ + "Proposal", + "State" + ], + "properties": { + "Proposal": { + "$ref": "#/components/schemas/ApiDealProposal" + }, + "State": { + "$ref": "#/components/schemas/ApiDealState" + } + } + }, + "ApiMessage": { + "type": "object", + "required": [ + "Cid", + "Message" + ], + "properties": { + "Cid": { + "$ref": "#/components/schemas/Cid" + }, + "Message": { + "$ref": "#/components/schemas/Message" + } + } + }, + "ApiReceipt": { + "type": "object", + "required": [ + "EventsRoot", + "ExitCode", + "GasUsed", + "Return" + ], + "properties": { + "EventsRoot": { + "$ref": "#/components/schemas/Nullable_Cid" + }, + "ExitCode": { + "$ref": "#/components/schemas/ExitCode" + }, + "GasUsed": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Return": { + "$ref": "#/components/schemas/Base64String" + } + } + }, + "ApiState": { + "type": "object", + "required": [ + "BuiltinActors" + ], + "properties": { + "BuiltinActors": true + } + }, + "Base64String": { + "type": [ + "string", + "null" + ] + }, + "BeaconEntry": { + "type": "object", + "required": [ + "Data", + "Round" + ], + "properties": { + "Data": { + "$ref": "#/components/schemas/Base64String" + }, + "Round": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "BeneficiaryTerm": { + "type": "object", + "required": [ + "Expiration", + "Quota", + "UsedQuota" + ], + "properties": { + "Expiration": { + "description": "The epoch at which the beneficiary's rights expire and revert to the owner", + "type": "integer", + "format": "int64" + }, + "Quota": { + "description": "The total amount the current beneficiary can withdraw. Monotonic, but reset when beneficiary changes.", + "$ref": "#/components/schemas/BigInt" + }, + "UsedQuota": { + "description": "The amount of quota the current beneficiary has already withdrawn", + "$ref": "#/components/schemas/BigInt" + } + } + }, + "BigInt": { + "type": "string" + }, + "BitField": { + "type": [ + "array", + "null" + ], + "items": { + "type": "integer", + "format": "uint8", + "minimum": 0 + } + }, + "Block": { + "type": "object", + "required": [ + "baseFeePerGas", + "difficulty", + "extraData", + "gasLimit", + "gasUsed", + "hash", + "logsBloom", + "miner", + "mixHash", + "nonce", + "number", + "parentHash", + "receiptsRoot", + "sha3Uncles", + "size", + "stateRoot", + "timestamp", + "totalDifficulty", + "transactions", + "transactionsRoot", + "uncles" + ], + "properties": { + "baseFeePerGas": { + "$ref": "#/components/schemas/EthBigInt" + }, + "difficulty": { + "$ref": "#/components/schemas/Uint64" + }, + "extraData": { + "$ref": "#/components/schemas/EthBytes" + }, + "gasLimit": { + "$ref": "#/components/schemas/Uint64" + }, + "gasUsed": { + "$ref": "#/components/schemas/Uint64" + }, + "hash": { + "$ref": "#/components/schemas/EthHash" + }, + "logsBloom": { + "$ref": "#/components/schemas/Bloom" + }, + "miner": { + "$ref": "#/components/schemas/EthAddress" + }, + "mixHash": { + "$ref": "#/components/schemas/EthHash" + }, + "nonce": { + "$ref": "#/components/schemas/Nonce" + }, + "number": { + "$ref": "#/components/schemas/Uint64" + }, + "parentHash": { + "$ref": "#/components/schemas/EthHash" + }, + "receiptsRoot": { + "$ref": "#/components/schemas/EthHash" + }, + "sha3Uncles": { + "$ref": "#/components/schemas/EthHash" + }, + "size": { + "$ref": "#/components/schemas/Uint64" + }, + "stateRoot": { + "$ref": "#/components/schemas/EthHash" + }, + "timestamp": { + "$ref": "#/components/schemas/Uint64" + }, + "totalDifficulty": { + "$ref": "#/components/schemas/Uint64" + }, + "transactions": { + "$ref": "#/components/schemas/Transactions" + }, + "transactionsRoot": { + "$ref": "#/components/schemas/EthHash" + }, + "uncles": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthHash" + } + } + } + }, + "BlockHash": { + "type": "object", + "required": [ + "blockHash", + "requireCanonical" + ], + "properties": { + "blockHash": { + "$ref": "#/components/schemas/EthHash" + }, + "requireCanonical": { + "type": "boolean" + } + } + }, + "BlockHeader": { + "type": "object", + "required": [ + "BeaconEntries", + "ForkSignaling", + "Height", + "Messages", + "Miner", + "ParentBaseFee", + "ParentMessageReceipts", + "ParentStateRoot", + "ParentWeight", + "Parents", + "Timestamp", + "WinPoStProof" + ], + "properties": { + "BLSAggregate": { + "$ref": "#/components/schemas/Nullable_Signature" + }, + "BeaconEntries": { + "$ref": "#/components/schemas/Nullable_Array_of_BeaconEntry" + }, + "BlockSig": { + "$ref": "#/components/schemas/Nullable_Signature" + }, + "ElectionProof": { + "$ref": "#/components/schemas/Nullable_ElectionProof" + }, + "ForkSignaling": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Height": { + "type": "integer", + "format": "int64" + }, + "Messages": { + "$ref": "#/components/schemas/Cid" + }, + "Miner": { + "$ref": "#/components/schemas/Address" + }, + "ParentBaseFee": { + "$ref": "#/components/schemas/BigInt" + }, + "ParentMessageReceipts": { + "$ref": "#/components/schemas/Cid" + }, + "ParentStateRoot": { + "$ref": "#/components/schemas/Cid" + }, + "ParentWeight": { + "$ref": "#/components/schemas/BigInt" + }, + "Parents": { + "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" + }, + "Ticket": { + "$ref": "#/components/schemas/Nullable_Ticket" + }, + "Timestamp": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "WinPoStProof": { + "$ref": "#/components/schemas/Nullable_Array_of_PoStProof" + } + } + }, + "BlockMessage": { + "type": "object", + "required": [ + "BlsMessages", + "Header", + "SecpkMessages" + ], + "properties": { + "BlsMessages": { + "$ref": "#/components/schemas/Nullable_Array_of_Cid" + }, + "Header": { + "$ref": "#/components/schemas/BlockHeader" + }, + "SecpkMessages": { + "$ref": "#/components/schemas/Nullable_Array_of_Cid" + } + } + }, + "BlockMessages": { + "type": "object", + "required": [ + "BlsMessages", + "Cids", + "SecpkMessages" + ], + "properties": { + "BlsMessages": { + "$ref": "#/components/schemas/Nullable_Array_of_Message" + }, + "Cids": { + "$ref": "#/components/schemas/Nullable_Array_of_Cid" + }, + "SecpkMessages": { + "$ref": "#/components/schemas/Nullable_Array_of_SignedMessage" + } + } + }, + "BlockNumber": { + "type": "object", + "required": [ + "blockNumber" + ], + "properties": { + "blockNumber": { + "$ref": "#/components/schemas/Int64" + } + } + }, + "BlockNumberOrHash": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Int64" + }, + { + "$ref": "#/components/schemas/EthHash" + }, + { + "$ref": "#/components/schemas/BlockNumber" + }, + { + "$ref": "#/components/schemas/BlockHash" + } + ] + }, + "BlockNumberOrPredefined": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Int64" + } + ] + }, + "BlockTemplate": { + "type": "object", + "required": [ + "BeaconValues", + "Epoch", + "Eproof", + "Messages", + "Miner", + "Parents", + "Ticket", + "Timestamp", + "WinningPoStProof" + ], + "properties": { + "BeaconValues": { + "$ref": "#/components/schemas/Nullable_Array_of_BeaconEntry" + }, + "Epoch": { + "$ref": "#/components/schemas/int64" + }, + "Eproof": { + "$ref": "#/components/schemas/ElectionProof" + }, + "Messages": { + "$ref": "#/components/schemas/Nullable_Array_of_SignedMessage" + }, + "Miner": { + "$ref": "#/components/schemas/Address" + }, + "Parents": { + "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" + }, + "Ticket": { + "$ref": "#/components/schemas/Ticket" + }, + "Timestamp": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "WinningPoStProof": { + "$ref": "#/components/schemas/Nullable_Array_of_PoStProof" + } + } + }, + "Bloom": { + "type": "string" + }, + "ChainExportParams": { + "type": "object", + "required": [ + "dry_run", + "epoch", + "output_path", + "recent_roots", + "skip_checksum", + "tipset_keys" + ], + "properties": { + "dry_run": { + "type": "boolean" + }, + "epoch": { + "type": "integer", + "format": "int64" + }, + "output_path": { + "type": "string" + }, + "recent_roots": { + "type": "integer", + "format": "int64" + }, + "skip_checksum": { + "type": "boolean" + }, + "tipset_keys": { + "$ref": "#/components/schemas/Nullable_Array_of_Cid" + } + } + }, + "Cid": { + "type": "object", + "required": [ + "/" + ], + "properties": { + "/": { + "type": "string" + } + } + }, + "CirculatingSupply": { + "type": "object", + "required": [ + "FilBurnt", + "FilCirculating", + "FilLocked", + "FilMined", + "FilReserveDisbursed", + "FilVested" + ], + "properties": { + "FilBurnt": { + "$ref": "#/components/schemas/BigInt" + }, + "FilCirculating": { + "$ref": "#/components/schemas/BigInt" + }, + "FilLocked": { + "$ref": "#/components/schemas/BigInt" + }, + "FilMined": { + "$ref": "#/components/schemas/BigInt" + }, + "FilReserveDisbursed": { + "$ref": "#/components/schemas/BigInt" + }, + "FilVested": { + "$ref": "#/components/schemas/BigInt" + } + } + }, + "Claim": { + "type": "object", + "required": [ + "QualityAdjPower", + "RawBytePower" + ], + "properties": { + "QualityAdjPower": { + "description": "Sum of quality adjusted power for a miner's sectors.", + "$ref": "#/components/schemas/BigInt" + }, + "RawBytePower": { + "description": "Sum of raw byte power for a miner's sectors.", + "$ref": "#/components/schemas/BigInt" + } + } + }, + "ClaimLotusJson": { + "type": "object", + "required": [ + "Client", + "Data", + "Provider", + "Sector", + "Size", + "TermMax", + "TermMin", + "TermStart" + ], + "properties": { + "Client": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Data": { + "$ref": "#/components/schemas/Cid" + }, + "Provider": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Sector": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Size": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "TermMax": { + "type": "integer", + "format": "int64" + }, + "TermMin": { + "type": "integer", + "format": "int64" + }, + "TermStart": { + "type": "integer", + "format": "int64" + } + } + }, + "DealCollateralBounds": { + "type": "object", + "required": [ + "Max", + "Min" + ], + "properties": { + "Max": { + "$ref": "#/components/schemas/BigInt" + }, + "Min": { + "$ref": "#/components/schemas/BigInt" + } + } + }, + "ElectionProof": { + "type": "object", + "required": [ + "VRFProof", + "WinCount" + ], + "properties": { + "VRFProof": { + "$ref": "#/components/schemas/Base64String" + }, + "WinCount": { + "type": "integer", + "format": "int64" + } + } + }, + "EthAddress": { + "type": "string" + }, + "EthBigInt": { + "type": "string" + }, + "EthBytes": { + "type": "string" + }, + "EthCallMessage": { + "type": "object", + "required": [ + "data", + "gas", + "gasPrice", + "value" + ], + "properties": { + "data": { + "$ref": "#/components/schemas/EthBytes" + }, + "from": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthAddress" + }, + { + "type": "null" + } + ] + }, + "gas": { + "$ref": "#/components/schemas/Uint64" + }, + "gasPrice": { + "$ref": "#/components/schemas/EthBigInt" + }, + "to": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthAddress" + }, + { + "type": "null" + } + ] + }, + "value": { + "$ref": "#/components/schemas/EthBigInt" + } + } + }, + "EthFeeHistoryResult": { + "type": "object", + "required": [ + "baseFeePerGas", + "gasUsedRatio", + "oldestBlock" + ], + "properties": { + "baseFeePerGas": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthBigInt" + } + }, + "gasUsedRatio": { + "type": "array", + "items": { + "type": "number", + "format": "double" + } + }, + "oldestBlock": { + "$ref": "#/components/schemas/Uint64" + }, + "reward": { + "type": [ + "array", + "null" + ], + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthBigInt" + } + } + } + } + }, + "EthFilterSpec": { + "description": "Represents a filter specification for querying Ethereum event logs. This struct can be used to specify criteria for filtering Ethereum event logs based on block range, address, topics, and block hash. It is useful for making requests to Ethereum nodes to fetch logs that match certain conditions.\n\n# Fields\n\n* `from_block` - Optional field interpreted as an epoch (in hex): - `\"latest\"`: latest mined block. - `\"earliest\"`: first block. - `\"pending\"`: blocks that have not yet been mined. If omitted, the default value is `\"latest\"`. This field is skipped during serialization if `None`.\n\n* `to_block` - Optional field interpreted as an epoch (in hex): - `\"latest\"`: latest mined block. - `\"earliest\"`: first block. - `\"pending\"`: blocks that have not yet been mined. If omitted, the default value is `\"latest\"`. This field is skipped during serialization if `None`.\n\n* `address` - Actor address or a list of addresses (`Vec`) from which event logs should originate. If the filter needs to match a single address, it can be specified as single element vector. This field is required and cannot be omitted.\n\n* `topics` - List of topics (`EthTopicSpec`) to be matched in the event logs.\n\n* `block_hash` - Optional field specifying a block hash (`Hash`) Restricts event logs returned to those emitted from messages contained in this tipset. When `block_hash` is provided, neither `from_block` nor `to_block` can be specified. This field is skipped during serialization if `None`. [the spec](https://github.com/filecoin-project/lotus/blob/475139ff95407ed9d55d3a2ef87e28da66512937/chain/types/ethtypes/eth_types.go#L602-L627).", + "type": "object", + "required": [ + "address", + "topics" + ], + "properties": { + "address": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthAddress" + } + }, + "blockHash": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthHash" + }, + { + "type": "null" + } + ] + }, + "fromBlock": { + "type": [ + "string", + "null" + ] + }, + "toBlock": { + "type": [ + "string", + "null" + ] + }, + "topics": { + "$ref": "#/components/schemas/EthTopicSpec" + } + } + }, + "EthHash": { + "type": "string" + }, + "EthHashList": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthHash" + } + }, + "EthLog": { + "description": "Represents the results of an event filter execution.", + "type": "object", + "required": [ + "address", + "blockHash", + "blockNumber", + "data", + "logIndex", + "removed", + "topics", + "transactionHash", + "transactionIndex" + ], + "properties": { + "address": { + "$ref": "#/components/schemas/EthAddress" + }, + "blockHash": { + "$ref": "#/components/schemas/EthHash" + }, + "blockNumber": { + "$ref": "#/components/schemas/Uint64" + }, + "data": { + "$ref": "#/components/schemas/EthBytes" + }, + "logIndex": { + "$ref": "#/components/schemas/Uint64" + }, + "removed": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthHash" + } + }, + "transactionHash": { + "$ref": "#/components/schemas/EthHash" + }, + "transactionIndex": { + "$ref": "#/components/schemas/Uint64" + } + } + }, + "EthSyncingResultLotusJson": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "object", + "required": [ + "currentblock", + "highestblock", + "startingblock" + ], + "properties": { + "currentblock": { + "type": "integer", + "format": "int64" + }, + "highestblock": { + "type": "integer", + "format": "int64" + }, + "startingblock": { + "type": "integer", + "format": "int64" + } + } + } + ] + }, + "EthTopicSpec": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthHashList" + } + }, + "EthTxReceipt": { + "type": "object", + "required": [ + "blockHash", + "blockNumber", + "cumulativeGasUsed", + "effectiveGasPrice", + "from", + "gasUsed", + "logs", + "logsBloom", + "root", + "status", + "transactionHash", + "transactionIndex", + "type" + ], + "properties": { + "blockHash": { + "$ref": "#/components/schemas/EthHash" + }, + "blockNumber": { + "$ref": "#/components/schemas/Uint64" + }, + "contractAddress": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthAddress" + }, + { + "type": "null" + } + ] + }, + "cumulativeGasUsed": { + "$ref": "#/components/schemas/Uint64" + }, + "effectiveGasPrice": { + "$ref": "#/components/schemas/EthBigInt" + }, + "from": { + "$ref": "#/components/schemas/EthAddress" + }, + "gasUsed": { + "$ref": "#/components/schemas/Uint64" + }, + "logs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthLog" + } + }, + "logsBloom": { + "$ref": "#/components/schemas/EthBytes" + }, + "root": { + "$ref": "#/components/schemas/EthHash" + }, + "status": { + "$ref": "#/components/schemas/Uint64" + }, + "to": { + "anyOf": [ + { + "$ref": "#/components/schemas/EthAddress" + }, + { + "type": "null" + } + ] + }, + "transactionHash": { + "$ref": "#/components/schemas/EthHash" + }, + "transactionIndex": { + "$ref": "#/components/schemas/Uint64" + }, + "type": { + "$ref": "#/components/schemas/Uint64" + } + } + }, + "Event": { + "type": "object", + "required": [ + "Emitter", + "Entries" + ], + "properties": { + "Emitter": { + "description": "Actor ID", + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Entries": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EventEntry" + } + } + } + }, + "EventEntry": { + "type": "object", + "required": [ + "Codec", + "Flags", + "Key", + "Value" + ], + "properties": { + "Codec": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Flags": { + "type": "integer", + "format": "uint8", + "minimum": 0 + }, + "Key": { + "type": "string" + }, + "Value": { + "$ref": "#/components/schemas/Base64String" + } + } + }, + "ExecutionTrace": { + "type": "object", + "required": [ + "GasCharges", + "Msg", + "MsgRct", + "Subcalls" + ], + "properties": { + "GasCharges": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GasTrace" + } + }, + "InvokedActor": { + "anyOf": [ + { + "$ref": "#/components/schemas/ActorTrace" + }, + { + "type": "null" + } + ] + }, + "Msg": { + "$ref": "#/components/schemas/MessageTrace" + }, + "MsgRct": { + "$ref": "#/components/schemas/ReturnTrace" + }, + "Subcalls": { + "$ref": "#/components/schemas/Nullable_Array_of_ExecutionTrace" + } + } + }, + "ExitCode": { + "description": "`Newtype` wrapper for the FVM `ExitCode`.\n\n# Examples ``` # use forest_filecoin::doctest_private::ExitCode; let fvm2_success = fvm_shared2::error::ExitCode::new(0); let fvm3_success = fvm_shared3::error::ExitCode::new(0);\n\nlet shim_from_v2 = ExitCode::from(fvm2_success); let shim_from_v3 = ExitCode::from(fvm3_success);\n\nassert_eq!(shim_from_v2, shim_from_v3); assert_eq!(shim_from_v2, fvm2_success.into()); assert_eq!(shim_from_v3, fvm3_success.into()); ```", + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "ExtendedSectorInfo": { + "type": "object", + "required": [ + "SealProof", + "SealedCID", + "SectorKey", + "SectorNumber" + ], + "properties": { + "SealProof": { + "$ref": "#/components/schemas/int64" + }, + "SealedCID": { + "$ref": "#/components/schemas/Cid" + }, + "SectorKey": { + "$ref": "#/components/schemas/Nullable_Cid" + }, + "SectorNumber": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "F3PowerEntry": { + "description": "PowerEntry represents a single entry in the PowerTable, including ActorID and its StoragePower and PubKey.", + "type": "object", + "required": [ + "ID", + "Power", + "PubKey" + ], + "properties": { + "ID": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Power": { + "type": "string" + }, + "PubKey": { + "type": "string" + } + } + }, + "F3TipSet": { + "type": "object", + "required": [ + "beacon", + "epoch", + "key", + "timestamp" + ], + "properties": { + "beacon": { + "description": "The verifiable oracle randomness used to elect this block's author leader", + "type": "string" + }, + "epoch": { + "description": "The period in which a new block is generated. There may be multiple rounds in an epoch.", + "type": "integer", + "format": "int64" + }, + "key": { + "$ref": "#/components/schemas/F3TipSetKey" + }, + "timestamp": { + "description": "Block creation time, in seconds since the Unix epoch", + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "F3TipSetKey": { + "description": "TipSetKey is the canonically ordered concatenation of the block CIDs in a tipset.", + "type": "string" + }, + "FilterID": { + "$ref": "#/components/schemas/EthHash" + }, + "ForkUpgradeParams": { + "type": "object", + "required": [ + "BreezeGasTampingDuration", + "UpgradeAssemblyHeight", + "UpgradeBreezeHeight", + "UpgradeCalicoHeight", + "UpgradeChocolateHeight", + "UpgradeClausHeight", + "UpgradeDragonHeight", + "UpgradeHyggeHeight", + "UpgradeHyperdriveHeight", + "UpgradeIgnitionHeight", + "UpgradeKumquatHeight", + "UpgradeLiftoffHeight", + "UpgradeLightningHeight", + "UpgradeNorwegianHeight", + "UpgradeOhSnapHeight", + "UpgradeOrangeHeight", + "UpgradePersianHeight", + "UpgradePhoenixHeight", + "UpgradeRefuelHeight", + "UpgradeSharkHeight", + "UpgradeSkyrHeight", + "UpgradeSmokeHeight", + "UpgradeTapeHeight", + "UpgradeThunderHeight", + "UpgradeTrustHeight", + "UpgradeTurboHeight", + "UpgradeWaffleHeight", + "UpgradeWatermelonHeight" + ], + "properties": { + "BreezeGasTampingDuration": { + "type": "integer", + "format": "int64" + }, + "UpgradeAssemblyHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeBreezeHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeCalicoHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeChocolateHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeClausHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeDragonHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeHyggeHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeHyperdriveHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeIgnitionHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeKumquatHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeLiftoffHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeLightningHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeNorwegianHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeOhSnapHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeOrangeHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradePersianHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradePhoenixHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeRefuelHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeSharkHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeSkyrHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeSmokeHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeTapeHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeThunderHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeTrustHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeTurboHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeWaffleHeight": { + "type": "integer", + "format": "int64" + }, + "UpgradeWatermelonHeight": { + "type": "integer", + "format": "int64" + } + } + }, + "GasTrace": { + "type": "object", + "required": [ + "Name", + "cg", + "sg", + "tg", + "tt" + ], + "properties": { + "Name": { + "type": "string" + }, + "cg": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "sg": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "tg": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "tt": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "GossipBlock": { + "type": "object", + "required": [ + "BlsMessages", + "Header", + "SecpkMessages" + ], + "properties": { + "BlsMessages": { + "$ref": "#/components/schemas/Cid" + }, + "Header": { + "$ref": "#/components/schemas/BlockHeader" + }, + "SecpkMessages": { + "$ref": "#/components/schemas/Cid" + } + } + }, + "Int64": { + "type": "string" + }, + "KeyInfo": { + "type": "object", + "required": [ + "PrivateKey", + "Type" + ], + "properties": { + "PrivateKey": { + "$ref": "#/components/schemas/Base64String" + }, + "Type": { + "$ref": "#/components/schemas/SignatureTypeLotusJson" + } + } + }, + "MarketBalance": { + "description": "External format for returning market balance from state.", + "type": "object", + "required": [ + "Escrow", + "Locked" + ], + "properties": { + "Escrow": { + "$ref": "#/components/schemas/BigInt" + }, + "Locked": { + "$ref": "#/components/schemas/BigInt" + } + } + }, + "Message": { + "type": "object", + "required": [ + "From", + "To" + ], + "properties": { + "From": { + "$ref": "#/components/schemas/Address" + }, + "GasFeeCap": { + "default": "0", + "$ref": "#/components/schemas/BigInt" + }, + "GasLimit": { + "default": 0, + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "GasPremium": { + "default": "0", + "$ref": "#/components/schemas/BigInt" + }, + "Method": { + "default": 0, + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Nonce": { + "default": 0, + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Params": { + "$ref": "#/components/schemas/Nullable_Base64String" + }, + "To": { + "$ref": "#/components/schemas/Address" + }, + "Value": { + "default": "0", + "$ref": "#/components/schemas/BigInt" + }, + "Version": { + "default": 0, + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "MessageFilter": { + "type": "object", + "required": [ + "From", + "To" + ], + "properties": { + "From": { + "$ref": "#/components/schemas/Nullable_Address" + }, + "To": { + "$ref": "#/components/schemas/Nullable_Address" + } + } + }, + "MessageGasCost": { + "type": "object", + "required": [ + "BaseFeeBurn", + "GasUsed", + "Message", + "MinerPenalty", + "MinerTip", + "OverEstimationBurn", + "Refund", + "TotalCost" + ], + "properties": { + "BaseFeeBurn": { + "$ref": "#/components/schemas/BigInt" + }, + "GasUsed": { + "$ref": "#/components/schemas/BigInt" + }, + "Message": { + "$ref": "#/components/schemas/Nullable_Cid" + }, + "MinerPenalty": { + "$ref": "#/components/schemas/BigInt" + }, + "MinerTip": { + "$ref": "#/components/schemas/BigInt" + }, + "OverEstimationBurn": { + "$ref": "#/components/schemas/BigInt" + }, + "Refund": { + "$ref": "#/components/schemas/BigInt" + }, + "TotalCost": { + "$ref": "#/components/schemas/BigInt" + } + } + }, + "MessageLookup": { + "type": "object", + "required": [ + "Height", + "Message", + "Receipt", + "ReturnDec", + "TipSet" + ], + "properties": { + "Height": { + "type": "integer", + "format": "int64" + }, + "Message": { + "$ref": "#/components/schemas/Cid" + }, + "Receipt": { + "$ref": "#/components/schemas/Receipt" + }, + "ReturnDec": true, + "TipSet": { + "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" + } + } + }, + "MessageSendSpec": { + "type": "object", + "required": [ + "MaxFee" + ], + "properties": { + "MaxFee": { + "$ref": "#/components/schemas/BigInt" + } + } + }, + "MessageTrace": { + "type": "object", + "required": [ + "From", + "Method", + "Params", + "ParamsCodec", + "To", + "Value" + ], + "properties": { + "From": { + "$ref": "#/components/schemas/Address" + }, + "GasLimit": { + "type": [ + "integer", + "null" + ], + "format": "uint64", + "minimum": 0 + }, + "Method": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Params": { + "$ref": "#/components/schemas/Base64String" + }, + "ParamsCodec": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "ReadOnly": { + "type": [ + "boolean", + "null" + ] + }, + "To": { + "$ref": "#/components/schemas/Address" + }, + "Value": { + "$ref": "#/components/schemas/BigInt" + } + } + }, + "MinerInfo": { + "type": "object", + "required": [ + "Beneficiary", + "BeneficiaryTerm", + "ConsensusFaultElapsed", + "ControlAddresses", + "Multiaddrs", + "NewWorker", + "Owner", + "PeerId", + "PendingBeneficiaryTerm", + "PendingOwnerAddress", + "SectorSize", + "WindowPoStPartitionSectors", + "WindowPoStProofType", + "Worker", + "WorkerChangeEpoch" + ], + "properties": { + "Beneficiary": { + "$ref": "#/components/schemas/Address" + }, + "BeneficiaryTerm": { + "$ref": "#/components/schemas/BeneficiaryTerm" + }, + "ConsensusFaultElapsed": { + "type": "integer", + "format": "int64" + }, + "ControlAddresses": { + "$ref": "#/components/schemas/Nullable_Array_of_Address" + }, + "Multiaddrs": { + "$ref": "#/components/schemas/Nullable_Array_of_Base64String" + }, + "NewWorker": { + "$ref": "#/components/schemas/Nullable_Address" + }, + "Owner": { + "$ref": "#/components/schemas/Address" + }, + "PeerId": { + "$ref": "#/components/schemas/Nullable_String" + }, + "PendingBeneficiaryTerm": { + "$ref": "#/components/schemas/Nullable_PendingBeneficiaryChange" + }, + "PendingOwnerAddress": { + "$ref": "#/components/schemas/Nullable_Address" + }, + "SectorSize": { + "$ref": "#/components/schemas/SectorSize" + }, + "WindowPoStPartitionSectors": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "WindowPoStProofType": { + "type": "string" + }, + "Worker": { + "$ref": "#/components/schemas/Address" + }, + "WorkerChangeEpoch": { + "type": "integer", + "format": "int64" + } + } + }, + "MinerPartitions": { + "type": "object", + "required": [ + "ActiveSectors", + "AllSectors", + "FaultySectors", + "LiveSectors", + "RecoveringSectors" + ], + "properties": { + "ActiveSectors": { + "$ref": "#/components/schemas/BitField" + }, + "AllSectors": { + "$ref": "#/components/schemas/BitField" + }, + "FaultySectors": { + "$ref": "#/components/schemas/BitField" + }, + "LiveSectors": { + "$ref": "#/components/schemas/BitField" + }, + "RecoveringSectors": { + "$ref": "#/components/schemas/BitField" + } + } + }, + "MinerPower": { + "type": "object", + "required": [ + "HasMinPower", + "MinerPower", + "TotalPower" + ], + "properties": { + "HasMinPower": { + "type": "boolean" + }, + "MinerPower": { + "$ref": "#/components/schemas/Claim" + }, + "TotalPower": { + "$ref": "#/components/schemas/Claim" + } + } + }, + "MinerSectors": { + "type": "object", + "required": [ + "Active", + "Faulty", + "Live" + ], + "properties": { + "Active": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Faulty": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Live": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "MiningBaseInfo": { + "type": "object", + "required": [ + "BeaconEntries", + "EligibleForMining", + "MinerPower", + "NetworkPower", + "PrevBeaconEntry", + "SectorSize", + "Sectors", + "WorkerKey" + ], + "properties": { + "BeaconEntries": { + "$ref": "#/components/schemas/Nullable_Array_of_BeaconEntry" + }, + "EligibleForMining": { + "type": "boolean" + }, + "MinerPower": { + "$ref": "#/components/schemas/BigInt" + }, + "NetworkPower": { + "$ref": "#/components/schemas/BigInt" + }, + "PrevBeaconEntry": { + "$ref": "#/components/schemas/BeaconEntry" + }, + "SectorSize": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Sectors": { + "$ref": "#/components/schemas/Nullable_Array_of_ExtendedSectorInfo" + }, + "WorkerKey": { + "$ref": "#/components/schemas/Address" + } + } + }, + "MsigVesting": { + "type": "object", + "required": [ + "InitialBalance", + "StartEpoch", + "UnlockDuration" + ], + "properties": { + "InitialBalance": { + "$ref": "#/components/schemas/BigInt" + }, + "StartEpoch": { + "type": "integer", + "format": "int64" + }, + "UnlockDuration": { + "type": "integer", + "format": "int64" + } + } + }, + "NatStatusResult": { + "type": "object", + "required": [ + "Reachability" + ], + "properties": { + "PublicAddrs": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "Reachability": { + "type": "integer", + "format": "int32" + } + } + }, + "NetInfoResult": { + "type": "object", + "required": [ + "num_connections", + "num_established", + "num_peers", + "num_pending", + "num_pending_incoming", + "num_pending_outgoing" + ], + "properties": { + "num_connections": { + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "num_established": { + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "num_peers": { + "type": "integer", + "format": "uint", + "minimum": 0 + }, + "num_pending": { + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "num_pending_incoming": { + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "num_pending_outgoing": { + "type": "integer", + "format": "uint32", + "minimum": 0 + } + } + }, + "NetworkParams": { + "type": "object", + "required": [ + "BlockDelaySecs", + "ConsensusMinerMinPower", + "Eip155ChainID", + "ForkUpgradeParams", + "NetworkName", + "PreCommitChallengeDelay", + "SupportedProofTypes" + ], + "properties": { + "BlockDelaySecs": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "ConsensusMinerMinPower": { + "$ref": "#/components/schemas/BigInt" + }, + "Eip155ChainID": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "ForkUpgradeParams": { + "$ref": "#/components/schemas/ForkUpgradeParams" + }, + "NetworkName": { + "type": "string" + }, + "PreCommitChallengeDelay": { + "type": "integer", + "format": "int64" + }, + "SupportedProofTypes": { + "$ref": "#/components/schemas/int64" + } + } + }, + "NodeChainStatus": { + "type": "object", + "required": [ + "blocks_per_tipset_last_100", + "blocks_per_tipset_last_finality" + ], + "properties": { + "blocks_per_tipset_last_100": { + "type": "number", + "format": "double" + }, + "blocks_per_tipset_last_finality": { + "type": "number", + "format": "double" + } + } + }, + "NodePeerStatus": { + "type": "object", + "required": [ + "peers_to_publish_blocks", + "peers_to_publish_msgs" + ], + "properties": { + "peers_to_publish_blocks": { + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "peers_to_publish_msgs": { + "type": "integer", + "format": "uint32", + "minimum": 0 + } + } + }, + "NodeStatusResult": { + "type": "object", + "required": [ + "chain_status", + "peer_status", + "sync_status" + ], + "properties": { + "chain_status": { + "$ref": "#/components/schemas/NodeChainStatus" + }, + "peer_status": { + "$ref": "#/components/schemas/NodePeerStatus" + }, + "sync_status": { + "$ref": "#/components/schemas/NodeSyncStatus" + } + } + }, + "NodeSyncStatus": { + "type": "object", + "required": [ + "behind", + "epoch" + ], + "properties": { + "behind": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "epoch": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "NonEmpty_Array_of_BlockHeader": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BlockHeader" + }, + "minItems": 1 + }, + "NonEmpty_Array_of_Cid": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Cid" + }, + "minItems": 1 + }, + "Nonce": { + "type": "string" + }, + "Nullable_Address": { + "anyOf": [ + { + "$ref": "#/components/schemas/Address" + }, + { + "type": "null" + } + ] + }, + "Nullable_Array_of_Address": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Address" + } + }, + "Nullable_Array_of_Base64String": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Base64String" + } + }, + "Nullable_Array_of_BeaconEntry": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/BeaconEntry" + } + }, + "Nullable_Array_of_Cid": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } + }, + "Nullable_Array_of_ExecutionTrace": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/ExecutionTrace" + } + }, + "Nullable_Array_of_ExtendedSectorInfo": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/ExtendedSectorInfo" + } + }, + "Nullable_Array_of_Message": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Message" + } + }, + "Nullable_Array_of_PoStProof": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/PoStProof" + } + }, + "Nullable_Array_of_SignedMessage": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/SignedMessage" + } + }, + "Nullable_Array_of_SyncState": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/SyncState" + } + }, + "Nullable_Array_of_uint64": { + "type": [ + "array", + "null" + ], + "items": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + }, + "Nullable_Base64String": { + "anyOf": [ + { + "$ref": "#/components/schemas/Base64String" + }, + { + "type": "null" + } + ] + }, + "Nullable_Cid": { + "anyOf": [ + { + "$ref": "#/components/schemas/Cid" + }, + { + "type": "null" + } + ] + }, + "Nullable_DateTime": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "Nullable_ElectionProof": { + "anyOf": [ + { + "$ref": "#/components/schemas/ElectionProof" + }, + { + "type": "null" + } + ] + }, + "Nullable_PendingBeneficiaryChange": { + "anyOf": [ + { + "$ref": "#/components/schemas/PendingBeneficiaryChange" + }, + { + "type": "null" + } + ] + }, + "Nullable_Receipt": { + "anyOf": [ + { + "$ref": "#/components/schemas/Receipt" + }, + { + "type": "null" + } + ] + }, + "Nullable_Signature": { + "anyOf": [ + { + "$ref": "#/components/schemas/Signature" + }, + { + "type": "null" + } + ] + }, + "Nullable_String": { + "type": [ + "string", + "null" + ] + }, + "Nullable_Ticket": { + "anyOf": [ + { + "$ref": "#/components/schemas/Ticket" + }, + { + "type": "null" + } + ] + }, + "Nullable_Tipset": { + "anyOf": [ + { + "$ref": "#/components/schemas/Tipset" + }, + { + "type": "null" + } + ] + }, + "ObjStat": { + "type": "object", + "required": [ + "Links", + "Size" + ], + "properties": { + "Links": { + "type": "integer", + "format": "uint", + "minimum": 0 + }, + "Size": { + "type": "integer", + "format": "uint", + "minimum": 0 + } + } + }, + "PathChange_for_Tipset": { + "oneOf": [ + { + "type": "object", + "required": [ + "Type", + "Val" + ], + "properties": { + "Type": { + "type": "string", + "enum": [ + "revert" + ] + }, + "Val": { + "$ref": "#/components/schemas/Tipset" + } + } + }, + { + "type": "object", + "required": [ + "Type", + "Val" + ], + "properties": { + "Type": { + "type": "string", + "enum": [ + "apply" + ] + }, + "Val": { + "$ref": "#/components/schemas/Tipset" + } + } + } + ] + }, + "PendingBeneficiaryChange": { + "type": "object", + "required": [ + "ApprovedByBeneficiary", + "ApprovedByNominee", + "NewBeneficiary", + "NewExpiration", + "NewQuota" + ], + "properties": { + "ApprovedByBeneficiary": { + "type": "boolean" + }, + "ApprovedByNominee": { + "type": "boolean" + }, + "NewBeneficiary": { + "$ref": "#/components/schemas/Address" + }, + "NewExpiration": { + "type": "integer", + "format": "int64" + }, + "NewQuota": { + "$ref": "#/components/schemas/BigInt" + } + } + }, + "PoStProof": { + "type": "object", + "required": [ + "PoStProof", + "ProofBytes" + ], + "properties": { + "PoStProof": { + "$ref": "#/components/schemas/int64" + }, + "ProofBytes": { + "$ref": "#/components/schemas/Base64String" + } + } + }, + "PublicVersion": { + "description": "Represents the current version of the API.", + "type": "object", + "required": [ + "APIVersion", + "BlockDelay", + "Version" + ], + "properties": { + "APIVersion": { + "$ref": "#/components/schemas/ShiftingVersion" + }, + "BlockDelay": { + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "Version": { + "type": "string" + } + } + }, + "RPCSyncState": { + "type": "object", + "required": [ + "ActiveSyncs" + ], + "properties": { + "ActiveSyncs": { + "$ref": "#/components/schemas/Nullable_Array_of_SyncState" + } + } + }, + "Receipt": { + "type": "object", + "required": [ + "ExitCode", + "GasUsed", + "Return" + ], + "properties": { + "EventsRoot": { + "default": null, + "$ref": "#/components/schemas/Nullable_Cid" + }, + "ExitCode": { + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "GasUsed": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Return": { + "$ref": "#/components/schemas/Base64String" + } + } + }, + "ReturnTrace": { + "type": "object", + "required": [ + "ExitCode", + "Return", + "ReturnCodec" + ], + "properties": { + "ExitCode": { + "$ref": "#/components/schemas/ExitCode" + }, + "Return": { + "$ref": "#/components/schemas/Base64String" + }, + "ReturnCodec": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "SectorExpiration": { + "type": "object", + "required": [ + "Early", + "OnTime" + ], + "properties": { + "Early": { + "type": "integer", + "format": "int64" + }, + "OnTime": { + "type": "integer", + "format": "int64" + } + } + }, + "SectorLocation": { + "type": "object", + "required": [ + "Deadline", + "Partition" + ], + "properties": { + "Deadline": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Partition": { + "type": "integer", + "format": "uint64", + "minimum": 0 + } + } + }, + "SectorOnChainInfo": { + "type": "object", + "required": [ + "Activation", + "DealIDs", + "DealWeight", + "ExpectedDayReward", + "ExpectedStoragePledge", + "Expiration", + "Flags", + "InitialPledge", + "PowerBaseEpoch", + "ReplacedDayReward", + "SealProof", + "SealedCID", + "SectorKeyCID", + "SectorNumber", + "VerifiedDealWeight" + ], + "properties": { + "Activation": { + "description": "Epoch during which the sector proof was accepted", + "type": "integer", + "format": "int64" + }, + "DealIDs": { + "$ref": "#/components/schemas/Nullable_Array_of_uint64" + }, + "DealWeight": { + "description": "Integral of active deals over sector lifetime", + "$ref": "#/components/schemas/BigInt" + }, + "ExpectedDayReward": { + "description": "Expected one day projection of reward for sector computed at activation time", + "$ref": "#/components/schemas/BigInt" + }, + "ExpectedStoragePledge": { + "description": "Expected twenty day projection of reward for sector computed at activation time", + "$ref": "#/components/schemas/BigInt" + }, + "Expiration": { + "description": "Epoch during which the sector expires", + "type": "integer", + "format": "int64" + }, + "Flags": { + "description": "Additional flags, see [`fil_actor_miner_state::v12::SectorOnChainInfoFlags`]", + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "InitialPledge": { + "description": "Pledge collected to commit this sector", + "$ref": "#/components/schemas/BigInt" + }, + "PowerBaseEpoch": { + "description": "Epoch at which this sector's power was most recently updated", + "type": "integer", + "format": "int64" + }, + "ReplacedDayReward": { + "$ref": "#/components/schemas/BigInt" + }, + "SealProof": { + "description": "The seal proof type implies the PoSt proofs", + "type": "integer", + "format": "int64" + }, + "SealedCID": { + "description": "`CommR`", + "$ref": "#/components/schemas/Cid" + }, + "SectorKeyCID": { + "$ref": "#/components/schemas/Nullable_Cid" + }, + "SectorNumber": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "VerifiedDealWeight": { + "description": "Integral of active verified deals over sector lifetime", + "$ref": "#/components/schemas/BigInt" + } + } + }, + "SectorPreCommitInfo": { + "type": "object", + "required": [ + "DealIDs", + "Expiration", + "SealProof", + "SealRandEpoch", + "SealedCID", + "SectorNumber", + "UnsealedCid" + ], + "properties": { + "DealIDs": { + "$ref": "#/components/schemas/Nullable_Array_of_uint64" + }, + "Expiration": { + "type": "integer", + "format": "int64" + }, + "SealProof": { + "$ref": "#/components/schemas/int64" + }, + "SealRandEpoch": { + "type": "integer", + "format": "int64" + }, + "SealedCID": { + "$ref": "#/components/schemas/Cid" + }, + "SectorNumber": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "UnsealedCid": { + "$ref": "#/components/schemas/Nullable_Cid" + } + } + }, + "SectorPreCommitOnChainInfo": { + "type": "object", + "required": [ + "Info", + "PreCommitDeposit", + "PreCommitEpoch" + ], + "properties": { + "Info": { + "$ref": "#/components/schemas/SectorPreCommitInfo" + }, + "PreCommitDeposit": { + "$ref": "#/components/schemas/BigInt" + }, + "PreCommitEpoch": { + "type": "integer", + "format": "int64" + } + } + }, + "SectorSize": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "ShiftingVersion": { + "description": "Integer based value on version information. Highest order bits for Major, Mid order for Minor and lowest for Patch.", + "type": "integer", + "format": "uint32", + "minimum": 0 + }, + "Signature": { + "type": "object", + "required": [ + "Data", + "Type" + ], + "properties": { + "Data": { + "$ref": "#/components/schemas/Base64String" + }, + "Type": { + "$ref": "#/components/schemas/SignatureTypeLotusJson" + } + } + }, + "SignatureType": { + "description": "Signature variants for Filecoin signatures.", + "type": "string", + "enum": [ + "Secp256k1", + "Bls", + "Delegated" + ] + }, + "SignatureTypeLotusJson": { + "anyOf": [ + { + "type": "integer", + "format": "uint8", + "minimum": 0 + }, + { + "$ref": "#/components/schemas/SignatureType" + } + ] + }, + "SignedMessage": { + "type": "object", + "required": [ + "Message", + "Signature" + ], + "properties": { + "CID": { + "$ref": "#/components/schemas/Nullable_Cid" + }, + "Message": { + "$ref": "#/components/schemas/Message" + }, + "Signature": { + "$ref": "#/components/schemas/Signature" + } + } + }, + "SyncStage": { + "type": "string" + }, + "SyncState": { + "type": "object", + "required": [ + "Epoch", + "Message", + "Stage" + ], + "properties": { + "Base": { + "$ref": "#/components/schemas/Nullable_Tipset" + }, + "End": { + "$ref": "#/components/schemas/Nullable_DateTime" + }, + "Epoch": { + "type": "integer", + "format": "int64" + }, + "Message": { + "type": "string" + }, + "Stage": { + "$ref": "#/components/schemas/SyncStage" + }, + "Start": { + "$ref": "#/components/schemas/Nullable_DateTime" + }, + "Target": { + "$ref": "#/components/schemas/Nullable_Tipset" + } + } + }, + "Ticket": { + "type": "object", + "required": [ + "VRFProof" + ], + "properties": { + "VRFProof": { + "$ref": "#/components/schemas/Base64String" + } + } + }, + "Tipset": { + "$ref": "#/components/schemas/TipsetInner" + }, + "TipsetInner": { + "type": "object", + "required": [ + "Blocks", + "Cids", + "Height" + ], + "properties": { + "Blocks": { + "$ref": "#/components/schemas/NonEmpty_Array_of_BlockHeader" + }, + "Cids": { + "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" + }, + "Height": { + "type": "integer", + "format": "int64" + } + } + }, + "Transaction": { + "type": "object", + "required": [ + "Approved", + "ID", + "Method", + "Params", + "To", + "Value" + ], + "properties": { + "Approved": { + "$ref": "#/components/schemas/Nullable_Array_of_Address" + }, + "ID": { + "type": "integer", + "format": "int64" + }, + "Method": { + "type": "integer", + "format": "uint64", + "minimum": 0 + }, + "Params": { + "$ref": "#/components/schemas/Base64String" + }, + "To": { + "$ref": "#/components/schemas/Address" + }, + "Value": { + "$ref": "#/components/schemas/BigInt" + } + } + }, + "Transactions": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ApiEthTx" + } + } + ] + }, + "Uint64": { + "type": "string" + }, + "int64": { + "type": "integer", + "format": "int64" + } + } + } +} From 3da7af055a35becd7e12b28712fe9678f8d6b6d6 Mon Sep 17 00:00:00 2001 From: elmattic Date: Fri, 11 Oct 2024 15:03:01 +0200 Subject: [PATCH 3/8] Update v1 schema files --- schemas/forest-a99f7ebfe01-path-v1.json | 8189 ----------------- .../specs/v1 forest_a99f7ebfe01_path_v1.json | 8189 ----------------- 2 files changed, 16378 deletions(-) delete mode 100644 schemas/forest-a99f7ebfe01-path-v1.json delete mode 100644 src/bindings/specs/v1 forest_a99f7ebfe01_path_v1.json diff --git a/schemas/forest-a99f7ebfe01-path-v1.json b/schemas/forest-a99f7ebfe01-path-v1.json deleted file mode 100644 index d63445f..0000000 --- a/schemas/forest-a99f7ebfe01-path-v1.json +++ /dev/null @@ -1,8189 +0,0 @@ -{ - "openrpc": "1.3.2", - "info": { - "title": "forest", - "version": "0.20.0" - }, - "methods": [ - { - "name": "F3.Finalize", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSetKey" - } - } - ], - "result": { - "name": "F3.Finalize.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "F3.GetHead", - "params": [], - "result": { - "name": "F3.GetHead.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSet" - } - }, - "paramStructure": "by-position" - }, - { - "name": "F3.GetParent", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSetKey" - } - } - ], - "result": { - "name": "F3.GetParent.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSet" - } - }, - "paramStructure": "by-position" - }, - { - "name": "F3.GetParticipatingMinerIDs", - "params": [], - "result": { - "name": "F3.GetParticipatingMinerIDs.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "F3.GetPowerTable", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSetKey" - } - } - ], - "result": { - "name": "F3.GetPowerTable.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/F3PowerEntry" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "F3.GetTipset", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSetKey" - } - } - ], - "result": { - "name": "F3.GetTipset.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSet" - } - }, - "paramStructure": "by-position" - }, - { - "name": "F3.GetTipsetByEpoch", - "params": [ - { - "name": "epoch", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - } - ], - "result": { - "name": "F3.GetTipsetByEpoch.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSet" - } - }, - "paramStructure": "by-position" - }, - { - "name": "F3.ProtectPeer", - "params": [ - { - "name": "peer_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "result": { - "name": "F3.ProtectPeer.Result", - "required": true, - "schema": { - "type": "boolean" - } - }, - "paramStructure": "by-position" - }, - { - "name": "F3.SignMessage", - "params": [ - { - "name": "pubkey", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - { - "name": "message", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - } - ], - "result": { - "name": "F3.SignMessage.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Signature" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.AuthNew", - "params": [ - { - "name": "permissions", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - }, - { - "name": "expiration_secs", - "required": true, - "schema": { - "type": [ - "integer", - "null" - ], - "format": "int64" - } - } - ], - "result": { - "name": "Filecoin.AuthNew.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.AuthVerify", - "params": [ - { - "name": "header_raw", - "required": true, - "schema": { - "type": "string" - } - } - ], - "result": { - "name": "Filecoin.AuthVerify.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainExport", - "params": [ - { - "name": "params", - "required": true, - "schema": { - "$ref": "#/components/schemas/ChainExportParams" - } - } - ], - "result": { - "name": "Filecoin.ChainExport.Result", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetBlock", - "params": [ - { - "name": "cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainGetBlock.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockHeader" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetBlockMessages", - "params": [ - { - "name": "cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainGetBlockMessages.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockMessages" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetEvents", - "params": [ - { - "name": "cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainGetEvents.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Event" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetGenesis", - "params": [], - "result": { - "name": "Filecoin.ChainGetGenesis.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Tipset" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetMessage", - "params": [ - { - "name": "msg_cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainGetMessage.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Message" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetMessagesInTipset", - "params": [ - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.ChainGetMessagesInTipset.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/ApiMessage" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetMinBaseFee", - "params": [ - { - "name": "lookback", - "required": true, - "schema": { - "type": "integer", - "format": "uint32", - "minimum": 0 - } - } - ], - "result": { - "name": "Filecoin.ChainGetMinBaseFee.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetParentMessages", - "params": [ - { - "name": "block_cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainGetParentMessages.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/ApiMessage" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetParentReceipts", - "params": [ - { - "name": "block_cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainGetParentReceipts.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/ApiReceipt" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetPath", - "params": [ - { - "name": "from", - "required": true, - "schema": { - "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" - } - }, - { - "name": "to", - "required": true, - "schema": { - "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainGetPath.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/PathChange_for_Tipset" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetTipSet", - "params": [ - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.ChainGetTipSet.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Tipset" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetTipSetAfterHeight", - "params": [ - { - "name": "height", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.ChainGetTipSetAfterHeight.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Tipset" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetTipSetByHeight", - "params": [ - { - "name": "height", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.ChainGetTipSetByHeight.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Tipset" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainHasObj", - "params": [ - { - "name": "cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainHasObj.Result", - "required": true, - "schema": { - "type": "boolean" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainHead", - "params": [], - "result": { - "name": "Filecoin.ChainHead.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Tipset" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainReadObj", - "params": [ - { - "name": "cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainReadObj.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainSetHead", - "params": [ - { - "name": "tsk", - "required": true, - "schema": { - "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainSetHead.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainStatObj", - "params": [ - { - "name": "obj_cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - }, - { - "name": "base_cid", - "required": true, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Cid" - }, - { - "type": "null" - } - ] - } - } - ], - "result": { - "name": "Filecoin.ChainStatObj.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/ObjStat" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainTipSetWeight", - "params": [ - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.ChainTipSetWeight.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthAccounts", - "params": [], - "result": { - "name": "Filecoin.EthAccounts.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthAddressToFilecoinAddress", - "params": [ - { - "name": "eth_address", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthAddress" - } - } - ], - "result": { - "name": "Filecoin.EthAddressToFilecoinAddress.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthBlockNumber", - "params": [], - "result": { - "name": "Filecoin.EthBlockNumber.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthCall", - "params": [ - { - "name": "tx", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthCallMessage" - } - }, - { - "name": "block_param", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockNumberOrHash" - } - } - ], - "result": { - "name": "Filecoin.EthCall.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthBytes" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthChainId", - "params": [], - "result": { - "name": "Filecoin.EthChainId.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthEstimateGas", - "params": [ - { - "name": "tx", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthCallMessage" - } - }, - { - "name": "block_param", - "required": true, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/BlockNumberOrHash" - }, - { - "type": "null" - } - ] - } - } - ], - "result": { - "name": "Filecoin.EthEstimateGas.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Uint64" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthFeeHistory", - "params": [ - { - "name": "block_count", - "required": true, - "schema": { - "$ref": "#/components/schemas/Uint64" - } - }, - { - "name": "newest_block_number", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockNumberOrPredefined" - } - }, - { - "name": "reward_percentiles", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "type": "number", - "format": "double" - } - } - } - ], - "result": { - "name": "Filecoin.EthFeeHistory.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthFeeHistoryResult" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGasPrice", - "params": [], - "result": { - "name": "Filecoin.EthGasPrice.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthBigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetBalance", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthAddress" - } - }, - { - "name": "block_param", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockNumberOrHash" - } - } - ], - "result": { - "name": "Filecoin.EthGetBalance.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthBigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetBlockByHash", - "params": [ - { - "name": "block_param", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockNumberOrHash" - } - }, - { - "name": "full_tx_info", - "required": true, - "schema": { - "type": "boolean" - } - } - ], - "result": { - "name": "Filecoin.EthGetBlockByHash.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Block" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetBlockByNumber", - "params": [ - { - "name": "block_param", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockNumberOrHash" - } - }, - { - "name": "full_tx_info", - "required": true, - "schema": { - "type": "boolean" - } - } - ], - "result": { - "name": "Filecoin.EthGetBlockByNumber.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Block" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetBlockTransactionCountByHash", - "params": [ - { - "name": "block_hash", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthHash" - } - } - ], - "result": { - "name": "Filecoin.EthGetBlockTransactionCountByHash.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Uint64" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetBlockTransactionCountByNumber", - "params": [ - { - "name": "block_number", - "required": true, - "schema": { - "$ref": "#/components/schemas/Int64" - } - } - ], - "result": { - "name": "Filecoin.EthGetBlockTransactionCountByNumber.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Uint64" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetCode", - "params": [ - { - "name": "eth_address", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthAddress" - } - }, - { - "name": "block_number_or_hash", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockNumberOrHash" - } - } - ], - "result": { - "name": "Filecoin.EthGetCode.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthBytes" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetMessageCidByTransactionHash", - "params": [ - { - "name": "tx_hash", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthHash" - } - } - ], - "result": { - "name": "Filecoin.EthGetMessageCidByTransactionHash.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Cid" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetStorageAt", - "params": [ - { - "name": "eth_address", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthAddress" - } - }, - { - "name": "position", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthBytes" - } - }, - { - "name": "block_number_or_hash", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockNumberOrHash" - } - } - ], - "result": { - "name": "Filecoin.EthGetStorageAt.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthBytes" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetTransactionByBlockHashAndIndex", - "params": [ - { - "name": "p1", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthHash" - } - }, - { - "name": "p2", - "required": true, - "schema": { - "$ref": "#/components/schemas/Uint64" - } - } - ], - "result": { - "name": "Filecoin.EthGetTransactionByBlockHashAndIndex.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/ApiEthTx" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetTransactionByBlockNumberAndIndex", - "params": [ - { - "name": "p1", - "required": true, - "schema": { - "$ref": "#/components/schemas/Uint64" - } - }, - { - "name": "p2", - "required": true, - "schema": { - "$ref": "#/components/schemas/Uint64" - } - } - ], - "result": { - "name": "Filecoin.EthGetTransactionByBlockNumberAndIndex.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/ApiEthTx" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetTransactionByHash", - "params": [ - { - "name": "tx_hash", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthHash" - } - } - ], - "result": { - "name": "Filecoin.EthGetTransactionByHash.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/ApiEthTx" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetTransactionByHashLimited", - "params": [ - { - "name": "tx_hash", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthHash" - } - }, - { - "name": "limit", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - } - ], - "result": { - "name": "Filecoin.EthGetTransactionByHashLimited.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/ApiEthTx" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetTransactionCount", - "params": [ - { - "name": "sender", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthAddress" - } - }, - { - "name": "block_param", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockNumberOrHash" - } - } - ], - "result": { - "name": "Filecoin.EthGetTransactionCount.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Uint64" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetTransactionHashByCid", - "params": [ - { - "name": "cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.EthGetTransactionHashByCid.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthHash" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetTransactionReceipt", - "params": [ - { - "name": "tx_hash", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthHash" - } - } - ], - "result": { - "name": "Filecoin.EthGetTransactionReceipt.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthTxReceipt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthMaxPriorityFeePerGas", - "params": [], - "result": { - "name": "Filecoin.EthMaxPriorityFeePerGas.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthBigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthNewBlockFilter", - "params": [], - "result": { - "name": "Filecoin.EthNewBlockFilter.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/FilterID" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthNewFilter", - "params": [ - { - "name": "filter_spec", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthFilterSpec" - } - } - ], - "result": { - "name": "Filecoin.EthNewFilter.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/FilterID" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthNewPendingTransactionFilter", - "params": [], - "result": { - "name": "Filecoin.EthNewPendingTransactionFilter.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/FilterID" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthProtocolVersion", - "params": [], - "result": { - "name": "Filecoin.EthProtocolVersion.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Uint64" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthSyncing", - "params": [], - "result": { - "name": "Filecoin.EthSyncing.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthSyncingResultLotusJson" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthUninstallFilter", - "params": [ - { - "name": "filter_id", - "required": true, - "schema": { - "$ref": "#/components/schemas/FilterID" - } - } - ], - "result": { - "name": "Filecoin.EthUninstallFilter.Result", - "required": true, - "schema": { - "type": "boolean" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.F3GetCertificate", - "params": [ - { - "name": "instance", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - ], - "result": { - "name": "Filecoin.F3GetCertificate.Result", - "required": true, - "schema": true - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.F3GetECPowerTable", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSetKey" - } - } - ], - "result": { - "name": "Filecoin.F3GetECPowerTable.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/F3PowerEntry" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.F3GetF3PowerTable", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSetKey" - } - } - ], - "result": { - "name": "Filecoin.F3GetF3PowerTable.Result", - "required": true, - "schema": true - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.F3GetLatestCertificate", - "params": [], - "result": { - "name": "Filecoin.F3GetLatestCertificate.Result", - "required": true, - "schema": true - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.F3Participate", - "params": [ - { - "name": "miner_address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "new_lease_expiration", - "required": true, - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "old_lease_expiration", - "required": true, - "schema": { - "type": "string", - "format": "date-time" - } - } - ], - "result": { - "name": "Filecoin.F3Participate.Result", - "required": true, - "schema": { - "type": "boolean" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.GasEstimateFeeCap", - "params": [ - { - "name": "message", - "required": true, - "schema": { - "$ref": "#/components/schemas/Message" - } - }, - { - "name": "max_queue_blocks", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.GasEstimateFeeCap.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.GasEstimateGasLimit", - "params": [ - { - "name": "msg", - "required": true, - "schema": { - "$ref": "#/components/schemas/Message" - } - }, - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.GasEstimateGasLimit.Result", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.GasEstimateGasPremium", - "params": [ - { - "name": "nblocksincl", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "sender", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "gas_limit", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.GasEstimateGasPremium.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.GasEstimateMessageGas", - "params": [ - { - "name": "msg", - "required": true, - "schema": { - "$ref": "#/components/schemas/Message" - } - }, - { - "name": "spec", - "required": true, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/MessageSendSpec" - }, - { - "type": "null" - } - ] - } - }, - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.GasEstimateMessageGas.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Message" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.GetActorEventsRaw", - "params": [ - { - "name": "filter", - "required": true, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/ActorEventFilter" - }, - { - "type": "null" - } - ] - } - } - ], - "result": { - "name": "Filecoin.GetActorEventsRaw.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/ActorEvent" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MarketAddBalance", - "params": [ - { - "name": "wallet", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "amount", - "required": true, - "schema": { - "$ref": "#/components/schemas/BigInt" - } - } - ], - "result": { - "name": "Filecoin.MarketAddBalance.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MinerCreateBlock", - "params": [ - { - "name": "block_template", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockTemplate" - } - } - ], - "result": { - "name": "Filecoin.MinerCreateBlock.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockMessage" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MinerGetBaseInfo", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "epoch", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.MinerGetBaseInfo.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/MiningBaseInfo" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MpoolBatchPush", - "params": [ - { - "name": "msgs", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/SignedMessage" - } - } - } - ], - "result": { - "name": "Filecoin.MpoolBatchPush.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MpoolBatchPushUntrusted", - "params": [ - { - "name": "msgs", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/SignedMessage" - } - } - } - ], - "result": { - "name": "Filecoin.MpoolBatchPushUntrusted.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MpoolGetNonce", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - } - ], - "result": { - "name": "Filecoin.MpoolGetNonce.Result", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MpoolPending", - "params": [ - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.MpoolPending.Result", - "required": true, - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SignedMessage" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MpoolPush", - "params": [ - { - "name": "msg", - "required": true, - "schema": { - "$ref": "#/components/schemas/SignedMessage" - } - } - ], - "result": { - "name": "Filecoin.MpoolPush.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MpoolPushMessage", - "params": [ - { - "name": "usmg", - "required": true, - "schema": { - "$ref": "#/components/schemas/Message" - } - }, - { - "name": "spec", - "required": true, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/MessageSendSpec" - }, - { - "type": "null" - } - ] - } - } - ], - "result": { - "name": "Filecoin.MpoolPushMessage.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/SignedMessage" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MpoolPushUntrusted", - "params": [ - { - "name": "msg", - "required": true, - "schema": { - "$ref": "#/components/schemas/SignedMessage" - } - } - ], - "result": { - "name": "Filecoin.MpoolPushUntrusted.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MpoolSelect", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - }, - { - "name": "ticket_quality", - "required": true, - "schema": { - "type": "number", - "format": "double" - } - } - ], - "result": { - "name": "Filecoin.MpoolSelect.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/SignedMessage" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MsigGetAvailableBalance", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.MsigGetAvailableBalance.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MsigGetPending", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.MsigGetPending.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Transaction" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MsigGetVested", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "start_tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - }, - { - "name": "end_tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.MsigGetVested.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MsigGetVestingSchedule", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.MsigGetVestingSchedule.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/MsigVesting" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetAddrsListen", - "params": [], - "result": { - "name": "Filecoin.NetAddrsListen.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/AddrInfo" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetAgentVersion", - "params": [ - { - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "result": { - "name": "Filecoin.NetAgentVersion.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetAutoNatStatus", - "params": [], - "result": { - "name": "Filecoin.NetAutoNatStatus.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/NatStatusResult" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetConnect", - "params": [ - { - "name": "info", - "required": true, - "schema": { - "$ref": "#/components/schemas/AddrInfo" - } - } - ], - "result": { - "name": "Filecoin.NetConnect.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetDisconnect", - "params": [ - { - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "result": { - "name": "Filecoin.NetDisconnect.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetFindPeer", - "params": [ - { - "name": "peer_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "result": { - "name": "Filecoin.NetFindPeer.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/AddrInfo" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetListening", - "params": [], - "result": { - "name": "Filecoin.NetListening.Result", - "required": true, - "schema": { - "type": "boolean" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetPeers", - "params": [], - "result": { - "name": "Filecoin.NetPeers.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/AddrInfo" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetProtectAdd", - "params": [ - { - "name": "peer_ids", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - } - ], - "result": { - "name": "Filecoin.NetProtectAdd.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetProtectList", - "params": [], - "result": { - "name": "Filecoin.NetProtectList.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetProtectRemove", - "params": [ - { - "name": "peer_ids", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - } - ], - "result": { - "name": "Filecoin.NetProtectRemove.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetVersion", - "params": [], - "result": { - "name": "Filecoin.NetVersion.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NodeStatus", - "params": [], - "result": { - "name": "Filecoin.NodeStatus.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/NodeStatusResult" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.Session", - "params": [], - "result": { - "name": "Filecoin.Session.Result", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.Shutdown", - "params": [], - "result": { - "name": "Filecoin.Shutdown.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StartTime", - "params": [], - "result": { - "name": "Filecoin.StartTime.Result", - "required": true, - "schema": { - "type": "string", - "format": "date-time" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateAccountKey", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateAccountKey.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateCall", - "params": [ - { - "name": "message", - "required": true, - "schema": { - "$ref": "#/components/schemas/Message" - } - }, - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateCall.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/ApiInvocResult" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateCirculatingSupply", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateCirculatingSupply.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateDealProviderCollateralBounds", - "params": [ - { - "name": "size", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "verified", - "required": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateDealProviderCollateralBounds.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/DealCollateralBounds" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetActor", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetActor.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/ActorState" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetAllAllocations", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetAllAllocations.Result", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/Allocation" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetAllClaims", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetAllClaims.Result", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ClaimLotusJson" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetAllocation", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "allocation_id", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetAllocation.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Allocation" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetAllocationForPendingDeal", - "params": [ - { - "name": "deal_id", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetAllocationForPendingDeal.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Allocation" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetAllocationIdForPendingDeal", - "params": [ - { - "name": "deal_id", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetAllocationIdForPendingDeal.Result", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetAllocations", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetAllocations.Result", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/Allocation" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetBeaconEntry", - "params": [ - { - "name": "epoch", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - } - ], - "result": { - "name": "Filecoin.StateGetBeaconEntry.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BeaconEntry" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetClaim", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "claim_id", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetClaim.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/ClaimLotusJson" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetClaims", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetClaims.Result", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ClaimLotusJson" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetNetworkParams", - "params": [], - "result": { - "name": "Filecoin.StateGetNetworkParams.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/NetworkParams" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetRandomnessDigestFromBeacon", - "params": [ - { - "name": "rand_epoch", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetRandomnessDigestFromBeacon.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetRandomnessDigestFromTickets", - "params": [ - { - "name": "rand_epoch", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetRandomnessDigestFromTickets.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetRandomnessFromBeacon", - "params": [ - { - "name": "personalization", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "rand_epoch", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "entropy", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetRandomnessFromBeacon.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetRandomnessFromTickets", - "params": [ - { - "name": "personalization", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "rand_epoch", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "entropy", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetRandomnessFromTickets.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetReceipt", - "params": [ - { - "name": "cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetReceipt.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Receipt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateListActors", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateListActors.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Address" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateListMessages", - "params": [ - { - "name": "message_filter", - "required": true, - "schema": { - "$ref": "#/components/schemas/MessageFilter" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - }, - { - "name": "max_height", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - } - ], - "result": { - "name": "Filecoin.StateListMessages.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateListMiners", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateListMiners.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Address" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateLookupID", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateLookupID.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateLookupRobustAddress", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateLookupRobustAddress.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMarketBalance", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMarketBalance.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/MarketBalance" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMarketDeals", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMarketDeals.Result", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ApiMarketDeal" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMarketParticipants", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMarketParticipants.Result", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/MarketBalance" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMarketStorageDeal", - "params": [ - { - "name": "deal_id", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMarketStorageDeal.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/ApiMarketDeal" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerActiveSectors", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerActiveSectors.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/SectorOnChainInfo" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerAllocated", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerAllocated.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BitField" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerAvailableBalance", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerAvailableBalance.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerDeadlines", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerDeadlines.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/ApiDeadline" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerFaults", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerFaults.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BitField" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerInfo", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerInfo.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/MinerInfo" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerInitialPledgeCollateral", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "sector_pre_commit_info", - "required": true, - "schema": { - "$ref": "#/components/schemas/SectorPreCommitInfo" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerInitialPledgeCollateral.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerPartitions", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "deadline_index", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerPartitions.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/MinerPartitions" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerPower", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerPower.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/MinerPower" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerPreCommitDepositForPower", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "sector_pre_commit_info", - "required": true, - "schema": { - "$ref": "#/components/schemas/SectorPreCommitInfo" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerPreCommitDepositForPower.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerProvingDeadline", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerProvingDeadline.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/ApiDeadlineInfo" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerRecoveries", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerRecoveries.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BitField" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerSectorAllocated", - "params": [ - { - "name": "miner_address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "sector_number", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerSectorAllocated.Result", - "required": true, - "schema": { - "type": "boolean" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerSectorCount", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerSectorCount.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/MinerSectors" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerSectors", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "sectors", - "required": true, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/BitField" - }, - { - "type": "null" - } - ] - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerSectors.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/SectorOnChainInfo" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateNetworkName", - "params": [], - "result": { - "name": "Filecoin.StateNetworkName.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateNetworkVersion", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateNetworkVersion.Result", - "required": true, - "schema": { - "type": "integer", - "format": "uint32", - "minimum": 0 - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateReadState", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateReadState.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/ApiActorState" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateReplay", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - }, - { - "name": "message_cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.StateReplay.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/ApiInvocResult" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateSearchMsg", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - }, - { - "name": "message_cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - }, - { - "name": "look_back_limit", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "allow_replaced", - "required": true, - "schema": { - "type": "boolean" - } - } - ], - "result": { - "name": "Filecoin.StateSearchMsg.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/MessageLookup" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateSectorExpiration", - "params": [ - { - "name": "miner_address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "sector_number", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateSectorExpiration.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/SectorExpiration" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateSectorGetInfo", - "params": [ - { - "name": "miner_address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "sector_number", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateSectorGetInfo.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/SectorOnChainInfo" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateSectorPartition", - "params": [ - { - "name": "miner_address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "sector_number", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateSectorPartition.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/SectorLocation" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateSectorPreCommitInfo", - "params": [ - { - "name": "miner_address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "sector_number", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateSectorPreCommitInfo.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/SectorPreCommitOnChainInfo" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateVMCirculatingSupplyInternal", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateVMCirculatingSupplyInternal.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/CirculatingSupply" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateVerifiedClientStatus", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateVerifiedClientStatus.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/BigInt" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateVerifiedRegistryRootKey", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateVerifiedRegistryRootKey.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateVerifierStatus", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateVerifierStatus.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/BigInt" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateWaitMsg", - "params": [ - { - "name": "message_cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - }, - { - "name": "confidence", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "look_back_limit", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "allow_replaced", - "required": true, - "schema": { - "type": "boolean" - } - } - ], - "result": { - "name": "Filecoin.StateWaitMsg.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/MessageLookup" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.SyncCheckBad", - "params": [ - { - "name": "cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.SyncCheckBad.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.SyncMarkBad", - "params": [ - { - "name": "cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.SyncMarkBad.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.SyncState", - "params": [], - "result": { - "name": "Filecoin.SyncState.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/RPCSyncState" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.SyncSubmitBlock", - "params": [ - { - "name": "blk", - "required": true, - "schema": { - "$ref": "#/components/schemas/GossipBlock" - } - } - ], - "result": { - "name": "Filecoin.SyncSubmitBlock.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.Version", - "params": [], - "result": { - "name": "Filecoin.Version.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/PublicVersion" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletBalance", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - } - ], - "result": { - "name": "Filecoin.WalletBalance.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletDefaultAddress", - "params": [], - "result": { - "name": "Filecoin.WalletDefaultAddress.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Address" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletDelete", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - } - ], - "result": { - "name": "Filecoin.WalletDelete.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletExport", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - } - ], - "result": { - "name": "Filecoin.WalletExport.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/KeyInfo" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletHas", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - } - ], - "result": { - "name": "Filecoin.WalletHas.Result", - "required": true, - "schema": { - "type": "boolean" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletImport", - "params": [ - { - "name": "key", - "required": true, - "schema": { - "$ref": "#/components/schemas/KeyInfo" - } - } - ], - "result": { - "name": "Filecoin.WalletImport.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletList", - "params": [], - "result": { - "name": "Filecoin.WalletList.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Address" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletNew", - "params": [ - { - "name": "signature_type", - "required": true, - "schema": { - "$ref": "#/components/schemas/SignatureTypeLotusJson" - } - } - ], - "result": { - "name": "Filecoin.WalletNew.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletSetDefault", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - } - ], - "result": { - "name": "Filecoin.WalletSetDefault.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletSign", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "message", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - } - ], - "result": { - "name": "Filecoin.WalletSign.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Signature" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletSignMessage", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "message", - "required": true, - "schema": { - "$ref": "#/components/schemas/Message" - } - } - ], - "result": { - "name": "Filecoin.WalletSignMessage.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/SignedMessage" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletValidateAddress", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "type": "string" - } - } - ], - "result": { - "name": "Filecoin.WalletValidateAddress.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletVerify", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "message", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - { - "name": "signature", - "required": true, - "schema": { - "$ref": "#/components/schemas/Signature" - } - } - ], - "result": { - "name": "Filecoin.WalletVerify.Result", - "required": true, - "schema": { - "type": "boolean" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.Web3ClientVersion", - "params": [], - "result": { - "name": "Filecoin.Web3ClientVersion.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Forest.NetInfo", - "params": [], - "result": { - "name": "Forest.NetInfo.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/NetInfoResult" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Forest.StateCompute", - "params": [ - { - "name": "epoch", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - } - ], - "result": { - "name": "Forest.StateCompute.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Forest.StateFetchRoot", - "params": [ - { - "name": "root_cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - }, - { - "name": "save_to_file", - "required": true, - "schema": { - "type": [ - "string", - "null" - ] - } - } - ], - "result": { - "name": "Forest.StateFetchRoot.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - } - ], - "components": { - "schemas": { - "ActorEvent": { - "type": "object", - "required": [ - "emitter", - "entries", - "height", - "msgCid", - "reverted", - "tipsetKey" - ], - "properties": { - "emitter": { - "$ref": "#/components/schemas/Address" - }, - "entries": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EventEntry" - } - }, - "height": { - "type": "integer", - "format": "int64" - }, - "msgCid": { - "$ref": "#/components/schemas/Cid" - }, - "reverted": { - "type": "boolean" - }, - "tipsetKey": { - "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" - } - } - }, - "ActorEventBlock": { - "type": "object", - "required": [ - "codec", - "value" - ], - "properties": { - "codec": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "value": { - "$ref": "#/components/schemas/Base64String" - } - } - }, - "ActorEventFilter": { - "type": "object", - "properties": { - "addresses": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Address" - } - }, - "fields": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ActorEventBlock" - } - } - }, - "fromHeight": { - "type": [ - "integer", - "null" - ], - "format": "int64" - }, - "tipsetKey": { - "anyOf": [ - { - "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" - }, - { - "type": "null" - } - ] - }, - "toHeight": { - "type": [ - "integer", - "null" - ], - "format": "int64" - } - } - }, - "ActorState": { - "type": "object", - "required": [ - "Balance", - "Code", - "Head", - "Nonce" - ], - "properties": { - "Balance": { - "$ref": "#/components/schemas/BigInt" - }, - "Code": { - "$ref": "#/components/schemas/Cid" - }, - "DelegatedAddress": { - "$ref": "#/components/schemas/Nullable_Address" - }, - "Head": { - "$ref": "#/components/schemas/Cid" - }, - "Nonce": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "ActorTrace": { - "type": "object", - "required": [ - "Id", - "State" - ], - "properties": { - "Id": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "State": { - "$ref": "#/components/schemas/ActorState" - } - } - }, - "AddrInfo": { - "type": "object", - "required": [ - "Addrs", - "ID" - ], - "properties": { - "Addrs": { - "type": "array", - "items": { - "type": "string" - }, - "uniqueItems": true - }, - "ID": { - "type": "string" - } - } - }, - "Address": { - "type": "string" - }, - "Allocation": { - "type": "object", - "required": [ - "Client", - "Data", - "Expiration", - "Provider", - "Size", - "TermMax", - "TermMin" - ], - "properties": { - "Client": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Data": { - "$ref": "#/components/schemas/Cid" - }, - "Expiration": { - "type": "integer", - "format": "int64" - }, - "Provider": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Size": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "TermMax": { - "type": "integer", - "format": "int64" - }, - "TermMin": { - "type": "integer", - "format": "int64" - } - } - }, - "ApiActorState": { - "type": "object", - "required": [ - "Balance", - "Code", - "State" - ], - "properties": { - "Balance": { - "$ref": "#/components/schemas/BigInt" - }, - "Code": { - "$ref": "#/components/schemas/Cid" - }, - "State": { - "$ref": "#/components/schemas/ApiState" - } - } - }, - "ApiDeadline": { - "type": "object", - "required": [ - "DisputableProofCount", - "PostSubmissions" - ], - "properties": { - "DisputableProofCount": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "PostSubmissions": { - "$ref": "#/components/schemas/BitField" - } - } - }, - "ApiDeadlineInfo": { - "type": "string" - }, - "ApiDealProposal": { - "type": "object", - "required": [ - "Client", - "ClientCollateral", - "EndEpoch", - "Label", - "PieceCID", - "PieceSize", - "Provider", - "ProviderCollateral", - "StartEpoch", - "StoragePricePerEpoch", - "VerifiedDeal" - ], - "properties": { - "Client": { - "$ref": "#/components/schemas/Address" - }, - "ClientCollateral": { - "$ref": "#/components/schemas/BigInt" - }, - "EndEpoch": { - "type": "integer", - "format": "int64" - }, - "Label": { - "type": "string" - }, - "PieceCID": { - "$ref": "#/components/schemas/Cid" - }, - "PieceSize": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Provider": { - "$ref": "#/components/schemas/Address" - }, - "ProviderCollateral": { - "$ref": "#/components/schemas/BigInt" - }, - "StartEpoch": { - "type": "integer", - "format": "int64" - }, - "StoragePricePerEpoch": { - "$ref": "#/components/schemas/BigInt" - }, - "VerifiedDeal": { - "type": "boolean" - } - } - }, - "ApiDealState": { - "type": "object", - "required": [ - "LastUpdatedEpoch", - "SectorStartEpoch", - "SlashEpoch" - ], - "properties": { - "LastUpdatedEpoch": { - "type": "integer", - "format": "int64" - }, - "SectorStartEpoch": { - "type": "integer", - "format": "int64" - }, - "SlashEpoch": { - "type": "integer", - "format": "int64" - } - } - }, - "ApiEthTx": { - "type": "object", - "required": [ - "blockHash", - "blockNumber", - "chainId", - "from", - "gas", - "hash", - "input", - "nonce", - "r", - "s", - "transactionIndex", - "type", - "v", - "value" - ], - "properties": { - "accessList": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/EthHash" - } - }, - "blockHash": { - "$ref": "#/components/schemas/EthHash" - }, - "blockNumber": { - "$ref": "#/components/schemas/Uint64" - }, - "chainId": { - "$ref": "#/components/schemas/Uint64" - }, - "from": { - "$ref": "#/components/schemas/EthAddress" - }, - "gas": { - "$ref": "#/components/schemas/Uint64" - }, - "gasPrice": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthBigInt" - }, - { - "type": "null" - } - ] - }, - "hash": { - "$ref": "#/components/schemas/EthHash" - }, - "input": { - "$ref": "#/components/schemas/EthBytes" - }, - "maxFeePerGas": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthBigInt" - }, - { - "type": "null" - } - ] - }, - "maxPriorityFeePerGas": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthBigInt" - }, - { - "type": "null" - } - ] - }, - "nonce": { - "$ref": "#/components/schemas/Uint64" - }, - "r": { - "$ref": "#/components/schemas/EthBigInt" - }, - "s": { - "$ref": "#/components/schemas/EthBigInt" - }, - "to": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthAddress" - }, - { - "type": "null" - } - ] - }, - "transactionIndex": { - "$ref": "#/components/schemas/Uint64" - }, - "type": { - "$ref": "#/components/schemas/Uint64" - }, - "v": { - "$ref": "#/components/schemas/EthBigInt" - }, - "value": { - "$ref": "#/components/schemas/EthBigInt" - } - } - }, - "ApiInvocResult": { - "type": "object", - "required": [ - "Duration", - "Error", - "GasCost", - "Msg", - "MsgCid", - "MsgRct" - ], - "properties": { - "Duration": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Error": { - "type": "string" - }, - "ExecutionTrace": { - "anyOf": [ - { - "$ref": "#/components/schemas/ExecutionTrace" - }, - { - "type": "null" - } - ] - }, - "GasCost": { - "$ref": "#/components/schemas/MessageGasCost" - }, - "Msg": { - "$ref": "#/components/schemas/Message" - }, - "MsgCid": { - "$ref": "#/components/schemas/Cid" - }, - "MsgRct": { - "$ref": "#/components/schemas/Nullable_Receipt" - } - } - }, - "ApiMarketDeal": { - "type": "object", - "required": [ - "Proposal", - "State" - ], - "properties": { - "Proposal": { - "$ref": "#/components/schemas/ApiDealProposal" - }, - "State": { - "$ref": "#/components/schemas/ApiDealState" - } - } - }, - "ApiMessage": { - "type": "object", - "required": [ - "Cid", - "Message" - ], - "properties": { - "Cid": { - "$ref": "#/components/schemas/Cid" - }, - "Message": { - "$ref": "#/components/schemas/Message" - } - } - }, - "ApiReceipt": { - "type": "object", - "required": [ - "EventsRoot", - "ExitCode", - "GasUsed", - "Return" - ], - "properties": { - "EventsRoot": { - "$ref": "#/components/schemas/Nullable_Cid" - }, - "ExitCode": { - "$ref": "#/components/schemas/ExitCode" - }, - "GasUsed": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Return": { - "$ref": "#/components/schemas/Base64String" - } - } - }, - "ApiState": { - "type": "object", - "required": [ - "BuiltinActors" - ], - "properties": { - "BuiltinActors": true - } - }, - "Base64String": { - "type": [ - "string", - "null" - ] - }, - "BeaconEntry": { - "type": "object", - "required": [ - "Data", - "Round" - ], - "properties": { - "Data": { - "$ref": "#/components/schemas/Base64String" - }, - "Round": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "BeneficiaryTerm": { - "type": "object", - "required": [ - "Expiration", - "Quota", - "UsedQuota" - ], - "properties": { - "Expiration": { - "description": "The epoch at which the beneficiary's rights expire and revert to the owner", - "type": "integer", - "format": "int64" - }, - "Quota": { - "description": "The total amount the current beneficiary can withdraw. Monotonic, but reset when beneficiary changes.", - "$ref": "#/components/schemas/BigInt" - }, - "UsedQuota": { - "description": "The amount of quota the current beneficiary has already withdrawn", - "$ref": "#/components/schemas/BigInt" - } - } - }, - "BigInt": { - "type": "string" - }, - "BitField": { - "type": [ - "array", - "null" - ], - "items": { - "type": "integer", - "format": "uint8", - "minimum": 0 - } - }, - "Block": { - "type": "object", - "required": [ - "baseFeePerGas", - "difficulty", - "extraData", - "gasLimit", - "gasUsed", - "hash", - "logsBloom", - "miner", - "mixHash", - "nonce", - "number", - "parentHash", - "receiptsRoot", - "sha3Uncles", - "size", - "stateRoot", - "timestamp", - "totalDifficulty", - "transactions", - "transactionsRoot", - "uncles" - ], - "properties": { - "baseFeePerGas": { - "$ref": "#/components/schemas/EthBigInt" - }, - "difficulty": { - "$ref": "#/components/schemas/Uint64" - }, - "extraData": { - "$ref": "#/components/schemas/EthBytes" - }, - "gasLimit": { - "$ref": "#/components/schemas/Uint64" - }, - "gasUsed": { - "$ref": "#/components/schemas/Uint64" - }, - "hash": { - "$ref": "#/components/schemas/EthHash" - }, - "logsBloom": { - "$ref": "#/components/schemas/Bloom" - }, - "miner": { - "$ref": "#/components/schemas/EthAddress" - }, - "mixHash": { - "$ref": "#/components/schemas/EthHash" - }, - "nonce": { - "$ref": "#/components/schemas/Nonce" - }, - "number": { - "$ref": "#/components/schemas/Uint64" - }, - "parentHash": { - "$ref": "#/components/schemas/EthHash" - }, - "receiptsRoot": { - "$ref": "#/components/schemas/EthHash" - }, - "sha3Uncles": { - "$ref": "#/components/schemas/EthHash" - }, - "size": { - "$ref": "#/components/schemas/Uint64" - }, - "stateRoot": { - "$ref": "#/components/schemas/EthHash" - }, - "timestamp": { - "$ref": "#/components/schemas/Uint64" - }, - "totalDifficulty": { - "$ref": "#/components/schemas/Uint64" - }, - "transactions": { - "$ref": "#/components/schemas/Transactions" - }, - "transactionsRoot": { - "$ref": "#/components/schemas/EthHash" - }, - "uncles": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EthHash" - } - } - } - }, - "BlockHash": { - "type": "object", - "required": [ - "blockHash", - "requireCanonical" - ], - "properties": { - "blockHash": { - "$ref": "#/components/schemas/EthHash" - }, - "requireCanonical": { - "type": "boolean" - } - } - }, - "BlockHeader": { - "type": "object", - "required": [ - "BeaconEntries", - "ForkSignaling", - "Height", - "Messages", - "Miner", - "ParentBaseFee", - "ParentMessageReceipts", - "ParentStateRoot", - "ParentWeight", - "Parents", - "Timestamp", - "WinPoStProof" - ], - "properties": { - "BLSAggregate": { - "$ref": "#/components/schemas/Nullable_Signature" - }, - "BeaconEntries": { - "$ref": "#/components/schemas/Nullable_Array_of_BeaconEntry" - }, - "BlockSig": { - "$ref": "#/components/schemas/Nullable_Signature" - }, - "ElectionProof": { - "$ref": "#/components/schemas/Nullable_ElectionProof" - }, - "ForkSignaling": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Height": { - "type": "integer", - "format": "int64" - }, - "Messages": { - "$ref": "#/components/schemas/Cid" - }, - "Miner": { - "$ref": "#/components/schemas/Address" - }, - "ParentBaseFee": { - "$ref": "#/components/schemas/BigInt" - }, - "ParentMessageReceipts": { - "$ref": "#/components/schemas/Cid" - }, - "ParentStateRoot": { - "$ref": "#/components/schemas/Cid" - }, - "ParentWeight": { - "$ref": "#/components/schemas/BigInt" - }, - "Parents": { - "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" - }, - "Ticket": { - "$ref": "#/components/schemas/Nullable_Ticket" - }, - "Timestamp": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "WinPoStProof": { - "$ref": "#/components/schemas/Nullable_Array_of_PoStProof" - } - } - }, - "BlockMessage": { - "type": "object", - "required": [ - "BlsMessages", - "Header", - "SecpkMessages" - ], - "properties": { - "BlsMessages": { - "$ref": "#/components/schemas/Nullable_Array_of_Cid" - }, - "Header": { - "$ref": "#/components/schemas/BlockHeader" - }, - "SecpkMessages": { - "$ref": "#/components/schemas/Nullable_Array_of_Cid" - } - } - }, - "BlockMessages": { - "type": "object", - "required": [ - "BlsMessages", - "Cids", - "SecpkMessages" - ], - "properties": { - "BlsMessages": { - "$ref": "#/components/schemas/Nullable_Array_of_Message" - }, - "Cids": { - "$ref": "#/components/schemas/Nullable_Array_of_Cid" - }, - "SecpkMessages": { - "$ref": "#/components/schemas/Nullable_Array_of_SignedMessage" - } - } - }, - "BlockNumber": { - "type": "object", - "required": [ - "blockNumber" - ], - "properties": { - "blockNumber": { - "$ref": "#/components/schemas/Int64" - } - } - }, - "BlockNumberOrHash": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Int64" - }, - { - "$ref": "#/components/schemas/EthHash" - }, - { - "$ref": "#/components/schemas/BlockNumber" - }, - { - "$ref": "#/components/schemas/BlockHash" - } - ] - }, - "BlockNumberOrPredefined": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Int64" - } - ] - }, - "BlockTemplate": { - "type": "object", - "required": [ - "BeaconValues", - "Epoch", - "Eproof", - "Messages", - "Miner", - "Parents", - "Ticket", - "Timestamp", - "WinningPoStProof" - ], - "properties": { - "BeaconValues": { - "$ref": "#/components/schemas/Nullable_Array_of_BeaconEntry" - }, - "Epoch": { - "$ref": "#/components/schemas/int64" - }, - "Eproof": { - "$ref": "#/components/schemas/ElectionProof" - }, - "Messages": { - "$ref": "#/components/schemas/Nullable_Array_of_SignedMessage" - }, - "Miner": { - "$ref": "#/components/schemas/Address" - }, - "Parents": { - "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" - }, - "Ticket": { - "$ref": "#/components/schemas/Ticket" - }, - "Timestamp": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "WinningPoStProof": { - "$ref": "#/components/schemas/Nullable_Array_of_PoStProof" - } - } - }, - "Bloom": { - "type": "string" - }, - "ChainExportParams": { - "type": "object", - "required": [ - "dry_run", - "epoch", - "output_path", - "recent_roots", - "skip_checksum", - "tipset_keys" - ], - "properties": { - "dry_run": { - "type": "boolean" - }, - "epoch": { - "type": "integer", - "format": "int64" - }, - "output_path": { - "type": "string" - }, - "recent_roots": { - "type": "integer", - "format": "int64" - }, - "skip_checksum": { - "type": "boolean" - }, - "tipset_keys": { - "$ref": "#/components/schemas/Nullable_Array_of_Cid" - } - } - }, - "Cid": { - "type": "object", - "required": [ - "/" - ], - "properties": { - "/": { - "type": "string" - } - } - }, - "CirculatingSupply": { - "type": "object", - "required": [ - "FilBurnt", - "FilCirculating", - "FilLocked", - "FilMined", - "FilReserveDisbursed", - "FilVested" - ], - "properties": { - "FilBurnt": { - "$ref": "#/components/schemas/BigInt" - }, - "FilCirculating": { - "$ref": "#/components/schemas/BigInt" - }, - "FilLocked": { - "$ref": "#/components/schemas/BigInt" - }, - "FilMined": { - "$ref": "#/components/schemas/BigInt" - }, - "FilReserveDisbursed": { - "$ref": "#/components/schemas/BigInt" - }, - "FilVested": { - "$ref": "#/components/schemas/BigInt" - } - } - }, - "Claim": { - "type": "object", - "required": [ - "QualityAdjPower", - "RawBytePower" - ], - "properties": { - "QualityAdjPower": { - "description": "Sum of quality adjusted power for a miner's sectors.", - "$ref": "#/components/schemas/BigInt" - }, - "RawBytePower": { - "description": "Sum of raw byte power for a miner's sectors.", - "$ref": "#/components/schemas/BigInt" - } - } - }, - "ClaimLotusJson": { - "type": "object", - "required": [ - "Client", - "Data", - "Provider", - "Sector", - "Size", - "TermMax", - "TermMin", - "TermStart" - ], - "properties": { - "Client": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Data": { - "$ref": "#/components/schemas/Cid" - }, - "Provider": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Sector": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Size": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "TermMax": { - "type": "integer", - "format": "int64" - }, - "TermMin": { - "type": "integer", - "format": "int64" - }, - "TermStart": { - "type": "integer", - "format": "int64" - } - } - }, - "DealCollateralBounds": { - "type": "object", - "required": [ - "Max", - "Min" - ], - "properties": { - "Max": { - "$ref": "#/components/schemas/BigInt" - }, - "Min": { - "$ref": "#/components/schemas/BigInt" - } - } - }, - "ElectionProof": { - "type": "object", - "required": [ - "VRFProof", - "WinCount" - ], - "properties": { - "VRFProof": { - "$ref": "#/components/schemas/Base64String" - }, - "WinCount": { - "type": "integer", - "format": "int64" - } - } - }, - "EthAddress": { - "type": "string" - }, - "EthBigInt": { - "type": "string" - }, - "EthBytes": { - "type": "string" - }, - "EthCallMessage": { - "type": "object", - "required": [ - "data", - "gas", - "gasPrice", - "value" - ], - "properties": { - "data": { - "$ref": "#/components/schemas/EthBytes" - }, - "from": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthAddress" - }, - { - "type": "null" - } - ] - }, - "gas": { - "$ref": "#/components/schemas/Uint64" - }, - "gasPrice": { - "$ref": "#/components/schemas/EthBigInt" - }, - "to": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthAddress" - }, - { - "type": "null" - } - ] - }, - "value": { - "$ref": "#/components/schemas/EthBigInt" - } - } - }, - "EthFeeHistoryResult": { - "type": "object", - "required": [ - "baseFeePerGas", - "gasUsedRatio", - "oldestBlock" - ], - "properties": { - "baseFeePerGas": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EthBigInt" - } - }, - "gasUsedRatio": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "oldestBlock": { - "$ref": "#/components/schemas/Uint64" - }, - "reward": { - "type": [ - "array", - "null" - ], - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EthBigInt" - } - } - } - } - }, - "EthFilterSpec": { - "description": "Represents a filter specification for querying Ethereum event logs. This struct can be used to specify criteria for filtering Ethereum event logs based on block range, address, topics, and block hash. It is useful for making requests to Ethereum nodes to fetch logs that match certain conditions.\n\n# Fields\n\n* `from_block` - Optional field interpreted as an epoch (in hex): - `\"latest\"`: latest mined block. - `\"earliest\"`: first block. - `\"pending\"`: blocks that have not yet been mined. If omitted, the default value is `\"latest\"`. This field is skipped during serialization if `None`.\n\n* `to_block` - Optional field interpreted as an epoch (in hex): - `\"latest\"`: latest mined block. - `\"earliest\"`: first block. - `\"pending\"`: blocks that have not yet been mined. If omitted, the default value is `\"latest\"`. This field is skipped during serialization if `None`.\n\n* `address` - Actor address or a list of addresses (`Vec`) from which event logs should originate. If the filter needs to match a single address, it can be specified as single element vector. This field is required and cannot be omitted.\n\n* `topics` - List of topics (`EthTopicSpec`) to be matched in the event logs.\n\n* `block_hash` - Optional field specifying a block hash (`Hash`) Restricts event logs returned to those emitted from messages contained in this tipset. When `block_hash` is provided, neither `from_block` nor `to_block` can be specified. This field is skipped during serialization if `None`. [the spec](https://github.com/filecoin-project/lotus/blob/475139ff95407ed9d55d3a2ef87e28da66512937/chain/types/ethtypes/eth_types.go#L602-L627).", - "type": "object", - "required": [ - "address", - "topics" - ], - "properties": { - "address": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EthAddress" - } - }, - "blockHash": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthHash" - }, - { - "type": "null" - } - ] - }, - "fromBlock": { - "type": [ - "string", - "null" - ] - }, - "toBlock": { - "type": [ - "string", - "null" - ] - }, - "topics": { - "$ref": "#/components/schemas/EthTopicSpec" - } - } - }, - "EthHash": { - "type": "string" - }, - "EthHashList": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EthHash" - } - }, - "EthLog": { - "description": "Represents the results of an event filter execution.", - "type": "object", - "required": [ - "address", - "blockHash", - "blockNumber", - "data", - "logIndex", - "removed", - "topics", - "transactionHash", - "transactionIndex" - ], - "properties": { - "address": { - "$ref": "#/components/schemas/EthAddress" - }, - "blockHash": { - "$ref": "#/components/schemas/EthHash" - }, - "blockNumber": { - "$ref": "#/components/schemas/Uint64" - }, - "data": { - "$ref": "#/components/schemas/EthBytes" - }, - "logIndex": { - "$ref": "#/components/schemas/Uint64" - }, - "removed": { - "type": "boolean" - }, - "topics": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EthHash" - } - }, - "transactionHash": { - "$ref": "#/components/schemas/EthHash" - }, - "transactionIndex": { - "$ref": "#/components/schemas/Uint64" - } - } - }, - "EthSyncingResultLotusJson": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "object", - "required": [ - "currentblock", - "highestblock", - "startingblock" - ], - "properties": { - "currentblock": { - "type": "integer", - "format": "int64" - }, - "highestblock": { - "type": "integer", - "format": "int64" - }, - "startingblock": { - "type": "integer", - "format": "int64" - } - } - } - ] - }, - "EthTopicSpec": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EthHashList" - } - }, - "EthTxReceipt": { - "type": "object", - "required": [ - "blockHash", - "blockNumber", - "cumulativeGasUsed", - "effectiveGasPrice", - "from", - "gasUsed", - "logs", - "logsBloom", - "root", - "status", - "transactionHash", - "transactionIndex", - "type" - ], - "properties": { - "blockHash": { - "$ref": "#/components/schemas/EthHash" - }, - "blockNumber": { - "$ref": "#/components/schemas/Uint64" - }, - "contractAddress": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthAddress" - }, - { - "type": "null" - } - ] - }, - "cumulativeGasUsed": { - "$ref": "#/components/schemas/Uint64" - }, - "effectiveGasPrice": { - "$ref": "#/components/schemas/EthBigInt" - }, - "from": { - "$ref": "#/components/schemas/EthAddress" - }, - "gasUsed": { - "$ref": "#/components/schemas/Uint64" - }, - "logs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EthLog" - } - }, - "logsBloom": { - "$ref": "#/components/schemas/EthBytes" - }, - "root": { - "$ref": "#/components/schemas/EthHash" - }, - "status": { - "$ref": "#/components/schemas/Uint64" - }, - "to": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthAddress" - }, - { - "type": "null" - } - ] - }, - "transactionHash": { - "$ref": "#/components/schemas/EthHash" - }, - "transactionIndex": { - "$ref": "#/components/schemas/Uint64" - }, - "type": { - "$ref": "#/components/schemas/Uint64" - } - } - }, - "Event": { - "type": "object", - "required": [ - "Emitter", - "Entries" - ], - "properties": { - "Emitter": { - "description": "Actor ID", - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Entries": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EventEntry" - } - } - } - }, - "EventEntry": { - "type": "object", - "required": [ - "Codec", - "Flags", - "Key", - "Value" - ], - "properties": { - "Codec": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Flags": { - "type": "integer", - "format": "uint8", - "minimum": 0 - }, - "Key": { - "type": "string" - }, - "Value": { - "$ref": "#/components/schemas/Base64String" - } - } - }, - "ExecutionTrace": { - "type": "object", - "required": [ - "GasCharges", - "Msg", - "MsgRct", - "Subcalls" - ], - "properties": { - "GasCharges": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GasTrace" - } - }, - "InvokedActor": { - "anyOf": [ - { - "$ref": "#/components/schemas/ActorTrace" - }, - { - "type": "null" - } - ] - }, - "Msg": { - "$ref": "#/components/schemas/MessageTrace" - }, - "MsgRct": { - "$ref": "#/components/schemas/ReturnTrace" - }, - "Subcalls": { - "$ref": "#/components/schemas/Nullable_Array_of_ExecutionTrace" - } - } - }, - "ExitCode": { - "description": "`Newtype` wrapper for the FVM `ExitCode`.\n\n# Examples ``` # use forest_filecoin::doctest_private::ExitCode; let fvm2_success = fvm_shared2::error::ExitCode::new(0); let fvm3_success = fvm_shared3::error::ExitCode::new(0);\n\nlet shim_from_v2 = ExitCode::from(fvm2_success); let shim_from_v3 = ExitCode::from(fvm3_success);\n\nassert_eq!(shim_from_v2, shim_from_v3); assert_eq!(shim_from_v2, fvm2_success.into()); assert_eq!(shim_from_v3, fvm3_success.into()); ```", - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "ExtendedSectorInfo": { - "type": "object", - "required": [ - "SealProof", - "SealedCID", - "SectorKey", - "SectorNumber" - ], - "properties": { - "SealProof": { - "$ref": "#/components/schemas/int64" - }, - "SealedCID": { - "$ref": "#/components/schemas/Cid" - }, - "SectorKey": { - "$ref": "#/components/schemas/Nullable_Cid" - }, - "SectorNumber": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "F3PowerEntry": { - "description": "PowerEntry represents a single entry in the PowerTable, including ActorID and its StoragePower and PubKey.", - "type": "object", - "required": [ - "ID", - "Power", - "PubKey" - ], - "properties": { - "ID": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Power": { - "type": "string" - }, - "PubKey": { - "type": "string" - } - } - }, - "F3TipSet": { - "type": "object", - "required": [ - "beacon", - "epoch", - "key", - "timestamp" - ], - "properties": { - "beacon": { - "description": "The verifiable oracle randomness used to elect this block's author leader", - "type": "string" - }, - "epoch": { - "description": "The period in which a new block is generated. There may be multiple rounds in an epoch.", - "type": "integer", - "format": "int64" - }, - "key": { - "$ref": "#/components/schemas/F3TipSetKey" - }, - "timestamp": { - "description": "Block creation time, in seconds since the Unix epoch", - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "F3TipSetKey": { - "description": "TipSetKey is the canonically ordered concatenation of the block CIDs in a tipset.", - "type": "string" - }, - "FilterID": { - "$ref": "#/components/schemas/EthHash" - }, - "ForkUpgradeParams": { - "type": "object", - "required": [ - "BreezeGasTampingDuration", - "UpgradeAssemblyHeight", - "UpgradeBreezeHeight", - "UpgradeCalicoHeight", - "UpgradeChocolateHeight", - "UpgradeClausHeight", - "UpgradeDragonHeight", - "UpgradeHyggeHeight", - "UpgradeHyperdriveHeight", - "UpgradeIgnitionHeight", - "UpgradeKumquatHeight", - "UpgradeLiftoffHeight", - "UpgradeLightningHeight", - "UpgradeNorwegianHeight", - "UpgradeOhSnapHeight", - "UpgradeOrangeHeight", - "UpgradePersianHeight", - "UpgradePhoenixHeight", - "UpgradeRefuelHeight", - "UpgradeSharkHeight", - "UpgradeSkyrHeight", - "UpgradeSmokeHeight", - "UpgradeTapeHeight", - "UpgradeThunderHeight", - "UpgradeTrustHeight", - "UpgradeTurboHeight", - "UpgradeWaffleHeight", - "UpgradeWatermelonHeight" - ], - "properties": { - "BreezeGasTampingDuration": { - "type": "integer", - "format": "int64" - }, - "UpgradeAssemblyHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeBreezeHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeCalicoHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeChocolateHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeClausHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeDragonHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeHyggeHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeHyperdriveHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeIgnitionHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeKumquatHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeLiftoffHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeLightningHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeNorwegianHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeOhSnapHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeOrangeHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradePersianHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradePhoenixHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeRefuelHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeSharkHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeSkyrHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeSmokeHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeTapeHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeThunderHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeTrustHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeTurboHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeWaffleHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeWatermelonHeight": { - "type": "integer", - "format": "int64" - } - } - }, - "GasTrace": { - "type": "object", - "required": [ - "Name", - "cg", - "sg", - "tg", - "tt" - ], - "properties": { - "Name": { - "type": "string" - }, - "cg": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "sg": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "tg": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "tt": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "GossipBlock": { - "type": "object", - "required": [ - "BlsMessages", - "Header", - "SecpkMessages" - ], - "properties": { - "BlsMessages": { - "$ref": "#/components/schemas/Cid" - }, - "Header": { - "$ref": "#/components/schemas/BlockHeader" - }, - "SecpkMessages": { - "$ref": "#/components/schemas/Cid" - } - } - }, - "Int64": { - "type": "string" - }, - "KeyInfo": { - "type": "object", - "required": [ - "PrivateKey", - "Type" - ], - "properties": { - "PrivateKey": { - "$ref": "#/components/schemas/Base64String" - }, - "Type": { - "$ref": "#/components/schemas/SignatureTypeLotusJson" - } - } - }, - "MarketBalance": { - "description": "External format for returning market balance from state.", - "type": "object", - "required": [ - "Escrow", - "Locked" - ], - "properties": { - "Escrow": { - "$ref": "#/components/schemas/BigInt" - }, - "Locked": { - "$ref": "#/components/schemas/BigInt" - } - } - }, - "Message": { - "type": "object", - "required": [ - "From", - "To" - ], - "properties": { - "From": { - "$ref": "#/components/schemas/Address" - }, - "GasFeeCap": { - "default": "0", - "$ref": "#/components/schemas/BigInt" - }, - "GasLimit": { - "default": 0, - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "GasPremium": { - "default": "0", - "$ref": "#/components/schemas/BigInt" - }, - "Method": { - "default": 0, - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Nonce": { - "default": 0, - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Params": { - "$ref": "#/components/schemas/Nullable_Base64String" - }, - "To": { - "$ref": "#/components/schemas/Address" - }, - "Value": { - "default": "0", - "$ref": "#/components/schemas/BigInt" - }, - "Version": { - "default": 0, - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "MessageFilter": { - "type": "object", - "required": [ - "From", - "To" - ], - "properties": { - "From": { - "$ref": "#/components/schemas/Nullable_Address" - }, - "To": { - "$ref": "#/components/schemas/Nullable_Address" - } - } - }, - "MessageGasCost": { - "type": "object", - "required": [ - "BaseFeeBurn", - "GasUsed", - "Message", - "MinerPenalty", - "MinerTip", - "OverEstimationBurn", - "Refund", - "TotalCost" - ], - "properties": { - "BaseFeeBurn": { - "$ref": "#/components/schemas/BigInt" - }, - "GasUsed": { - "$ref": "#/components/schemas/BigInt" - }, - "Message": { - "$ref": "#/components/schemas/Nullable_Cid" - }, - "MinerPenalty": { - "$ref": "#/components/schemas/BigInt" - }, - "MinerTip": { - "$ref": "#/components/schemas/BigInt" - }, - "OverEstimationBurn": { - "$ref": "#/components/schemas/BigInt" - }, - "Refund": { - "$ref": "#/components/schemas/BigInt" - }, - "TotalCost": { - "$ref": "#/components/schemas/BigInt" - } - } - }, - "MessageLookup": { - "type": "object", - "required": [ - "Height", - "Message", - "Receipt", - "ReturnDec", - "TipSet" - ], - "properties": { - "Height": { - "type": "integer", - "format": "int64" - }, - "Message": { - "$ref": "#/components/schemas/Cid" - }, - "Receipt": { - "$ref": "#/components/schemas/Receipt" - }, - "ReturnDec": true, - "TipSet": { - "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" - } - } - }, - "MessageSendSpec": { - "type": "object", - "required": [ - "MaxFee" - ], - "properties": { - "MaxFee": { - "$ref": "#/components/schemas/BigInt" - } - } - }, - "MessageTrace": { - "type": "object", - "required": [ - "From", - "Method", - "Params", - "ParamsCodec", - "To", - "Value" - ], - "properties": { - "From": { - "$ref": "#/components/schemas/Address" - }, - "GasLimit": { - "type": [ - "integer", - "null" - ], - "format": "uint64", - "minimum": 0 - }, - "Method": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Params": { - "$ref": "#/components/schemas/Base64String" - }, - "ParamsCodec": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "ReadOnly": { - "type": [ - "boolean", - "null" - ] - }, - "To": { - "$ref": "#/components/schemas/Address" - }, - "Value": { - "$ref": "#/components/schemas/BigInt" - } - } - }, - "MinerInfo": { - "type": "object", - "required": [ - "Beneficiary", - "BeneficiaryTerm", - "ConsensusFaultElapsed", - "ControlAddresses", - "Multiaddrs", - "NewWorker", - "Owner", - "PeerId", - "PendingBeneficiaryTerm", - "PendingOwnerAddress", - "SectorSize", - "WindowPoStPartitionSectors", - "WindowPoStProofType", - "Worker", - "WorkerChangeEpoch" - ], - "properties": { - "Beneficiary": { - "$ref": "#/components/schemas/Address" - }, - "BeneficiaryTerm": { - "$ref": "#/components/schemas/BeneficiaryTerm" - }, - "ConsensusFaultElapsed": { - "type": "integer", - "format": "int64" - }, - "ControlAddresses": { - "$ref": "#/components/schemas/Nullable_Array_of_Address" - }, - "Multiaddrs": { - "$ref": "#/components/schemas/Nullable_Array_of_Base64String" - }, - "NewWorker": { - "$ref": "#/components/schemas/Nullable_Address" - }, - "Owner": { - "$ref": "#/components/schemas/Address" - }, - "PeerId": { - "$ref": "#/components/schemas/Nullable_String" - }, - "PendingBeneficiaryTerm": { - "$ref": "#/components/schemas/Nullable_PendingBeneficiaryChange" - }, - "PendingOwnerAddress": { - "$ref": "#/components/schemas/Nullable_Address" - }, - "SectorSize": { - "$ref": "#/components/schemas/SectorSize" - }, - "WindowPoStPartitionSectors": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "WindowPoStProofType": { - "type": "string" - }, - "Worker": { - "$ref": "#/components/schemas/Address" - }, - "WorkerChangeEpoch": { - "type": "integer", - "format": "int64" - } - } - }, - "MinerPartitions": { - "type": "object", - "required": [ - "ActiveSectors", - "AllSectors", - "FaultySectors", - "LiveSectors", - "RecoveringSectors" - ], - "properties": { - "ActiveSectors": { - "$ref": "#/components/schemas/BitField" - }, - "AllSectors": { - "$ref": "#/components/schemas/BitField" - }, - "FaultySectors": { - "$ref": "#/components/schemas/BitField" - }, - "LiveSectors": { - "$ref": "#/components/schemas/BitField" - }, - "RecoveringSectors": { - "$ref": "#/components/schemas/BitField" - } - } - }, - "MinerPower": { - "type": "object", - "required": [ - "HasMinPower", - "MinerPower", - "TotalPower" - ], - "properties": { - "HasMinPower": { - "type": "boolean" - }, - "MinerPower": { - "$ref": "#/components/schemas/Claim" - }, - "TotalPower": { - "$ref": "#/components/schemas/Claim" - } - } - }, - "MinerSectors": { - "type": "object", - "required": [ - "Active", - "Faulty", - "Live" - ], - "properties": { - "Active": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Faulty": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Live": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "MiningBaseInfo": { - "type": "object", - "required": [ - "BeaconEntries", - "EligibleForMining", - "MinerPower", - "NetworkPower", - "PrevBeaconEntry", - "SectorSize", - "Sectors", - "WorkerKey" - ], - "properties": { - "BeaconEntries": { - "$ref": "#/components/schemas/Nullable_Array_of_BeaconEntry" - }, - "EligibleForMining": { - "type": "boolean" - }, - "MinerPower": { - "$ref": "#/components/schemas/BigInt" - }, - "NetworkPower": { - "$ref": "#/components/schemas/BigInt" - }, - "PrevBeaconEntry": { - "$ref": "#/components/schemas/BeaconEntry" - }, - "SectorSize": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Sectors": { - "$ref": "#/components/schemas/Nullable_Array_of_ExtendedSectorInfo" - }, - "WorkerKey": { - "$ref": "#/components/schemas/Address" - } - } - }, - "MsigVesting": { - "type": "object", - "required": [ - "InitialBalance", - "StartEpoch", - "UnlockDuration" - ], - "properties": { - "InitialBalance": { - "$ref": "#/components/schemas/BigInt" - }, - "StartEpoch": { - "type": "integer", - "format": "int64" - }, - "UnlockDuration": { - "type": "integer", - "format": "int64" - } - } - }, - "NatStatusResult": { - "type": "object", - "required": [ - "Reachability" - ], - "properties": { - "PublicAddrs": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "Reachability": { - "type": "integer", - "format": "int32" - } - } - }, - "NetInfoResult": { - "type": "object", - "required": [ - "num_connections", - "num_established", - "num_peers", - "num_pending", - "num_pending_incoming", - "num_pending_outgoing" - ], - "properties": { - "num_connections": { - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "num_established": { - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "num_peers": { - "type": "integer", - "format": "uint", - "minimum": 0 - }, - "num_pending": { - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "num_pending_incoming": { - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "num_pending_outgoing": { - "type": "integer", - "format": "uint32", - "minimum": 0 - } - } - }, - "NetworkParams": { - "type": "object", - "required": [ - "BlockDelaySecs", - "ConsensusMinerMinPower", - "Eip155ChainID", - "ForkUpgradeParams", - "NetworkName", - "PreCommitChallengeDelay", - "SupportedProofTypes" - ], - "properties": { - "BlockDelaySecs": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "ConsensusMinerMinPower": { - "$ref": "#/components/schemas/BigInt" - }, - "Eip155ChainID": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "ForkUpgradeParams": { - "$ref": "#/components/schemas/ForkUpgradeParams" - }, - "NetworkName": { - "type": "string" - }, - "PreCommitChallengeDelay": { - "type": "integer", - "format": "int64" - }, - "SupportedProofTypes": { - "$ref": "#/components/schemas/int64" - } - } - }, - "NodeChainStatus": { - "type": "object", - "required": [ - "blocks_per_tipset_last_100", - "blocks_per_tipset_last_finality" - ], - "properties": { - "blocks_per_tipset_last_100": { - "type": "number", - "format": "double" - }, - "blocks_per_tipset_last_finality": { - "type": "number", - "format": "double" - } - } - }, - "NodePeerStatus": { - "type": "object", - "required": [ - "peers_to_publish_blocks", - "peers_to_publish_msgs" - ], - "properties": { - "peers_to_publish_blocks": { - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "peers_to_publish_msgs": { - "type": "integer", - "format": "uint32", - "minimum": 0 - } - } - }, - "NodeStatusResult": { - "type": "object", - "required": [ - "chain_status", - "peer_status", - "sync_status" - ], - "properties": { - "chain_status": { - "$ref": "#/components/schemas/NodeChainStatus" - }, - "peer_status": { - "$ref": "#/components/schemas/NodePeerStatus" - }, - "sync_status": { - "$ref": "#/components/schemas/NodeSyncStatus" - } - } - }, - "NodeSyncStatus": { - "type": "object", - "required": [ - "behind", - "epoch" - ], - "properties": { - "behind": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "epoch": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "NonEmpty_Array_of_BlockHeader": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BlockHeader" - }, - "minItems": 1 - }, - "NonEmpty_Array_of_Cid": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Cid" - }, - "minItems": 1 - }, - "Nonce": { - "type": "string" - }, - "Nullable_Address": { - "anyOf": [ - { - "$ref": "#/components/schemas/Address" - }, - { - "type": "null" - } - ] - }, - "Nullable_Array_of_Address": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Address" - } - }, - "Nullable_Array_of_Base64String": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Base64String" - } - }, - "Nullable_Array_of_BeaconEntry": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/BeaconEntry" - } - }, - "Nullable_Array_of_Cid": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - }, - "Nullable_Array_of_ExecutionTrace": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/ExecutionTrace" - } - }, - "Nullable_Array_of_ExtendedSectorInfo": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/ExtendedSectorInfo" - } - }, - "Nullable_Array_of_Message": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Message" - } - }, - "Nullable_Array_of_PoStProof": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/PoStProof" - } - }, - "Nullable_Array_of_SignedMessage": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/SignedMessage" - } - }, - "Nullable_Array_of_SyncState": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/SyncState" - } - }, - "Nullable_Array_of_uint64": { - "type": [ - "array", - "null" - ], - "items": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - "Nullable_Base64String": { - "anyOf": [ - { - "$ref": "#/components/schemas/Base64String" - }, - { - "type": "null" - } - ] - }, - "Nullable_Cid": { - "anyOf": [ - { - "$ref": "#/components/schemas/Cid" - }, - { - "type": "null" - } - ] - }, - "Nullable_DateTime": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "Nullable_ElectionProof": { - "anyOf": [ - { - "$ref": "#/components/schemas/ElectionProof" - }, - { - "type": "null" - } - ] - }, - "Nullable_PendingBeneficiaryChange": { - "anyOf": [ - { - "$ref": "#/components/schemas/PendingBeneficiaryChange" - }, - { - "type": "null" - } - ] - }, - "Nullable_Receipt": { - "anyOf": [ - { - "$ref": "#/components/schemas/Receipt" - }, - { - "type": "null" - } - ] - }, - "Nullable_Signature": { - "anyOf": [ - { - "$ref": "#/components/schemas/Signature" - }, - { - "type": "null" - } - ] - }, - "Nullable_String": { - "type": [ - "string", - "null" - ] - }, - "Nullable_Ticket": { - "anyOf": [ - { - "$ref": "#/components/schemas/Ticket" - }, - { - "type": "null" - } - ] - }, - "Nullable_Tipset": { - "anyOf": [ - { - "$ref": "#/components/schemas/Tipset" - }, - { - "type": "null" - } - ] - }, - "ObjStat": { - "type": "object", - "required": [ - "Links", - "Size" - ], - "properties": { - "Links": { - "type": "integer", - "format": "uint", - "minimum": 0 - }, - "Size": { - "type": "integer", - "format": "uint", - "minimum": 0 - } - } - }, - "PathChange_for_Tipset": { - "oneOf": [ - { - "type": "object", - "required": [ - "Type", - "Val" - ], - "properties": { - "Type": { - "type": "string", - "enum": [ - "revert" - ] - }, - "Val": { - "$ref": "#/components/schemas/Tipset" - } - } - }, - { - "type": "object", - "required": [ - "Type", - "Val" - ], - "properties": { - "Type": { - "type": "string", - "enum": [ - "apply" - ] - }, - "Val": { - "$ref": "#/components/schemas/Tipset" - } - } - } - ] - }, - "PendingBeneficiaryChange": { - "type": "object", - "required": [ - "ApprovedByBeneficiary", - "ApprovedByNominee", - "NewBeneficiary", - "NewExpiration", - "NewQuota" - ], - "properties": { - "ApprovedByBeneficiary": { - "type": "boolean" - }, - "ApprovedByNominee": { - "type": "boolean" - }, - "NewBeneficiary": { - "$ref": "#/components/schemas/Address" - }, - "NewExpiration": { - "type": "integer", - "format": "int64" - }, - "NewQuota": { - "$ref": "#/components/schemas/BigInt" - } - } - }, - "PoStProof": { - "type": "object", - "required": [ - "PoStProof", - "ProofBytes" - ], - "properties": { - "PoStProof": { - "$ref": "#/components/schemas/int64" - }, - "ProofBytes": { - "$ref": "#/components/schemas/Base64String" - } - } - }, - "PublicVersion": { - "description": "Represents the current version of the API.", - "type": "object", - "required": [ - "APIVersion", - "BlockDelay", - "Version" - ], - "properties": { - "APIVersion": { - "$ref": "#/components/schemas/ShiftingVersion" - }, - "BlockDelay": { - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "Version": { - "type": "string" - } - } - }, - "RPCSyncState": { - "type": "object", - "required": [ - "ActiveSyncs" - ], - "properties": { - "ActiveSyncs": { - "$ref": "#/components/schemas/Nullable_Array_of_SyncState" - } - } - }, - "Receipt": { - "type": "object", - "required": [ - "ExitCode", - "GasUsed", - "Return" - ], - "properties": { - "EventsRoot": { - "default": null, - "$ref": "#/components/schemas/Nullable_Cid" - }, - "ExitCode": { - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "GasUsed": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Return": { - "$ref": "#/components/schemas/Base64String" - } - } - }, - "ReturnTrace": { - "type": "object", - "required": [ - "ExitCode", - "Return", - "ReturnCodec" - ], - "properties": { - "ExitCode": { - "$ref": "#/components/schemas/ExitCode" - }, - "Return": { - "$ref": "#/components/schemas/Base64String" - }, - "ReturnCodec": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "SectorExpiration": { - "type": "object", - "required": [ - "Early", - "OnTime" - ], - "properties": { - "Early": { - "type": "integer", - "format": "int64" - }, - "OnTime": { - "type": "integer", - "format": "int64" - } - } - }, - "SectorLocation": { - "type": "object", - "required": [ - "Deadline", - "Partition" - ], - "properties": { - "Deadline": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Partition": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "SectorOnChainInfo": { - "type": "object", - "required": [ - "Activation", - "DealIDs", - "DealWeight", - "ExpectedDayReward", - "ExpectedStoragePledge", - "Expiration", - "Flags", - "InitialPledge", - "PowerBaseEpoch", - "ReplacedDayReward", - "SealProof", - "SealedCID", - "SectorKeyCID", - "SectorNumber", - "VerifiedDealWeight" - ], - "properties": { - "Activation": { - "description": "Epoch during which the sector proof was accepted", - "type": "integer", - "format": "int64" - }, - "DealIDs": { - "$ref": "#/components/schemas/Nullable_Array_of_uint64" - }, - "DealWeight": { - "description": "Integral of active deals over sector lifetime", - "$ref": "#/components/schemas/BigInt" - }, - "ExpectedDayReward": { - "description": "Expected one day projection of reward for sector computed at activation time", - "$ref": "#/components/schemas/BigInt" - }, - "ExpectedStoragePledge": { - "description": "Expected twenty day projection of reward for sector computed at activation time", - "$ref": "#/components/schemas/BigInt" - }, - "Expiration": { - "description": "Epoch during which the sector expires", - "type": "integer", - "format": "int64" - }, - "Flags": { - "description": "Additional flags, see [`fil_actor_miner_state::v12::SectorOnChainInfoFlags`]", - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "InitialPledge": { - "description": "Pledge collected to commit this sector", - "$ref": "#/components/schemas/BigInt" - }, - "PowerBaseEpoch": { - "description": "Epoch at which this sector's power was most recently updated", - "type": "integer", - "format": "int64" - }, - "ReplacedDayReward": { - "$ref": "#/components/schemas/BigInt" - }, - "SealProof": { - "description": "The seal proof type implies the PoSt proofs", - "type": "integer", - "format": "int64" - }, - "SealedCID": { - "description": "`CommR`", - "$ref": "#/components/schemas/Cid" - }, - "SectorKeyCID": { - "$ref": "#/components/schemas/Nullable_Cid" - }, - "SectorNumber": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "VerifiedDealWeight": { - "description": "Integral of active verified deals over sector lifetime", - "$ref": "#/components/schemas/BigInt" - } - } - }, - "SectorPreCommitInfo": { - "type": "object", - "required": [ - "DealIDs", - "Expiration", - "SealProof", - "SealRandEpoch", - "SealedCID", - "SectorNumber", - "UnsealedCid" - ], - "properties": { - "DealIDs": { - "$ref": "#/components/schemas/Nullable_Array_of_uint64" - }, - "Expiration": { - "type": "integer", - "format": "int64" - }, - "SealProof": { - "$ref": "#/components/schemas/int64" - }, - "SealRandEpoch": { - "type": "integer", - "format": "int64" - }, - "SealedCID": { - "$ref": "#/components/schemas/Cid" - }, - "SectorNumber": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "UnsealedCid": { - "$ref": "#/components/schemas/Nullable_Cid" - } - } - }, - "SectorPreCommitOnChainInfo": { - "type": "object", - "required": [ - "Info", - "PreCommitDeposit", - "PreCommitEpoch" - ], - "properties": { - "Info": { - "$ref": "#/components/schemas/SectorPreCommitInfo" - }, - "PreCommitDeposit": { - "$ref": "#/components/schemas/BigInt" - }, - "PreCommitEpoch": { - "type": "integer", - "format": "int64" - } - } - }, - "SectorSize": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "ShiftingVersion": { - "description": "Integer based value on version information. Highest order bits for Major, Mid order for Minor and lowest for Patch.", - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "Signature": { - "type": "object", - "required": [ - "Data", - "Type" - ], - "properties": { - "Data": { - "$ref": "#/components/schemas/Base64String" - }, - "Type": { - "$ref": "#/components/schemas/SignatureTypeLotusJson" - } - } - }, - "SignatureType": { - "description": "Signature variants for Filecoin signatures.", - "type": "string", - "enum": [ - "Secp256k1", - "Bls", - "Delegated" - ] - }, - "SignatureTypeLotusJson": { - "anyOf": [ - { - "type": "integer", - "format": "uint8", - "minimum": 0 - }, - { - "$ref": "#/components/schemas/SignatureType" - } - ] - }, - "SignedMessage": { - "type": "object", - "required": [ - "Message", - "Signature" - ], - "properties": { - "CID": { - "$ref": "#/components/schemas/Nullable_Cid" - }, - "Message": { - "$ref": "#/components/schemas/Message" - }, - "Signature": { - "$ref": "#/components/schemas/Signature" - } - } - }, - "SyncStage": { - "type": "string" - }, - "SyncState": { - "type": "object", - "required": [ - "Epoch", - "Message", - "Stage" - ], - "properties": { - "Base": { - "$ref": "#/components/schemas/Nullable_Tipset" - }, - "End": { - "$ref": "#/components/schemas/Nullable_DateTime" - }, - "Epoch": { - "type": "integer", - "format": "int64" - }, - "Message": { - "type": "string" - }, - "Stage": { - "$ref": "#/components/schemas/SyncStage" - }, - "Start": { - "$ref": "#/components/schemas/Nullable_DateTime" - }, - "Target": { - "$ref": "#/components/schemas/Nullable_Tipset" - } - } - }, - "Ticket": { - "type": "object", - "required": [ - "VRFProof" - ], - "properties": { - "VRFProof": { - "$ref": "#/components/schemas/Base64String" - } - } - }, - "Tipset": { - "$ref": "#/components/schemas/TipsetInner" - }, - "TipsetInner": { - "type": "object", - "required": [ - "Blocks", - "Cids", - "Height" - ], - "properties": { - "Blocks": { - "$ref": "#/components/schemas/NonEmpty_Array_of_BlockHeader" - }, - "Cids": { - "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" - }, - "Height": { - "type": "integer", - "format": "int64" - } - } - }, - "Transaction": { - "type": "object", - "required": [ - "Approved", - "ID", - "Method", - "Params", - "To", - "Value" - ], - "properties": { - "Approved": { - "$ref": "#/components/schemas/Nullable_Array_of_Address" - }, - "ID": { - "type": "integer", - "format": "int64" - }, - "Method": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Params": { - "$ref": "#/components/schemas/Base64String" - }, - "To": { - "$ref": "#/components/schemas/Address" - }, - "Value": { - "$ref": "#/components/schemas/BigInt" - } - } - }, - "Transactions": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiEthTx" - } - } - ] - }, - "Uint64": { - "type": "string" - }, - "int64": { - "type": "integer", - "format": "int64" - } - } - } -} diff --git a/src/bindings/specs/v1 forest_a99f7ebfe01_path_v1.json b/src/bindings/specs/v1 forest_a99f7ebfe01_path_v1.json deleted file mode 100644 index d63445f..0000000 --- a/src/bindings/specs/v1 forest_a99f7ebfe01_path_v1.json +++ /dev/null @@ -1,8189 +0,0 @@ -{ - "openrpc": "1.3.2", - "info": { - "title": "forest", - "version": "0.20.0" - }, - "methods": [ - { - "name": "F3.Finalize", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSetKey" - } - } - ], - "result": { - "name": "F3.Finalize.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "F3.GetHead", - "params": [], - "result": { - "name": "F3.GetHead.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSet" - } - }, - "paramStructure": "by-position" - }, - { - "name": "F3.GetParent", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSetKey" - } - } - ], - "result": { - "name": "F3.GetParent.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSet" - } - }, - "paramStructure": "by-position" - }, - { - "name": "F3.GetParticipatingMinerIDs", - "params": [], - "result": { - "name": "F3.GetParticipatingMinerIDs.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "F3.GetPowerTable", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSetKey" - } - } - ], - "result": { - "name": "F3.GetPowerTable.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/F3PowerEntry" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "F3.GetTipset", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSetKey" - } - } - ], - "result": { - "name": "F3.GetTipset.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSet" - } - }, - "paramStructure": "by-position" - }, - { - "name": "F3.GetTipsetByEpoch", - "params": [ - { - "name": "epoch", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - } - ], - "result": { - "name": "F3.GetTipsetByEpoch.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSet" - } - }, - "paramStructure": "by-position" - }, - { - "name": "F3.ProtectPeer", - "params": [ - { - "name": "peer_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "result": { - "name": "F3.ProtectPeer.Result", - "required": true, - "schema": { - "type": "boolean" - } - }, - "paramStructure": "by-position" - }, - { - "name": "F3.SignMessage", - "params": [ - { - "name": "pubkey", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - { - "name": "message", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - } - ], - "result": { - "name": "F3.SignMessage.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Signature" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.AuthNew", - "params": [ - { - "name": "permissions", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - }, - { - "name": "expiration_secs", - "required": true, - "schema": { - "type": [ - "integer", - "null" - ], - "format": "int64" - } - } - ], - "result": { - "name": "Filecoin.AuthNew.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.AuthVerify", - "params": [ - { - "name": "header_raw", - "required": true, - "schema": { - "type": "string" - } - } - ], - "result": { - "name": "Filecoin.AuthVerify.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainExport", - "params": [ - { - "name": "params", - "required": true, - "schema": { - "$ref": "#/components/schemas/ChainExportParams" - } - } - ], - "result": { - "name": "Filecoin.ChainExport.Result", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetBlock", - "params": [ - { - "name": "cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainGetBlock.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockHeader" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetBlockMessages", - "params": [ - { - "name": "cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainGetBlockMessages.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockMessages" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetEvents", - "params": [ - { - "name": "cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainGetEvents.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Event" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetGenesis", - "params": [], - "result": { - "name": "Filecoin.ChainGetGenesis.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Tipset" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetMessage", - "params": [ - { - "name": "msg_cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainGetMessage.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Message" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetMessagesInTipset", - "params": [ - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.ChainGetMessagesInTipset.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/ApiMessage" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetMinBaseFee", - "params": [ - { - "name": "lookback", - "required": true, - "schema": { - "type": "integer", - "format": "uint32", - "minimum": 0 - } - } - ], - "result": { - "name": "Filecoin.ChainGetMinBaseFee.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetParentMessages", - "params": [ - { - "name": "block_cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainGetParentMessages.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/ApiMessage" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetParentReceipts", - "params": [ - { - "name": "block_cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainGetParentReceipts.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/ApiReceipt" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetPath", - "params": [ - { - "name": "from", - "required": true, - "schema": { - "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" - } - }, - { - "name": "to", - "required": true, - "schema": { - "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainGetPath.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/PathChange_for_Tipset" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetTipSet", - "params": [ - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.ChainGetTipSet.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Tipset" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetTipSetAfterHeight", - "params": [ - { - "name": "height", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.ChainGetTipSetAfterHeight.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Tipset" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainGetTipSetByHeight", - "params": [ - { - "name": "height", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.ChainGetTipSetByHeight.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Tipset" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainHasObj", - "params": [ - { - "name": "cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainHasObj.Result", - "required": true, - "schema": { - "type": "boolean" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainHead", - "params": [], - "result": { - "name": "Filecoin.ChainHead.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Tipset" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainReadObj", - "params": [ - { - "name": "cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainReadObj.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainSetHead", - "params": [ - { - "name": "tsk", - "required": true, - "schema": { - "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" - } - } - ], - "result": { - "name": "Filecoin.ChainSetHead.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainStatObj", - "params": [ - { - "name": "obj_cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - }, - { - "name": "base_cid", - "required": true, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Cid" - }, - { - "type": "null" - } - ] - } - } - ], - "result": { - "name": "Filecoin.ChainStatObj.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/ObjStat" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.ChainTipSetWeight", - "params": [ - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.ChainTipSetWeight.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthAccounts", - "params": [], - "result": { - "name": "Filecoin.EthAccounts.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthAddressToFilecoinAddress", - "params": [ - { - "name": "eth_address", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthAddress" - } - } - ], - "result": { - "name": "Filecoin.EthAddressToFilecoinAddress.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthBlockNumber", - "params": [], - "result": { - "name": "Filecoin.EthBlockNumber.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthCall", - "params": [ - { - "name": "tx", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthCallMessage" - } - }, - { - "name": "block_param", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockNumberOrHash" - } - } - ], - "result": { - "name": "Filecoin.EthCall.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthBytes" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthChainId", - "params": [], - "result": { - "name": "Filecoin.EthChainId.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthEstimateGas", - "params": [ - { - "name": "tx", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthCallMessage" - } - }, - { - "name": "block_param", - "required": true, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/BlockNumberOrHash" - }, - { - "type": "null" - } - ] - } - } - ], - "result": { - "name": "Filecoin.EthEstimateGas.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Uint64" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthFeeHistory", - "params": [ - { - "name": "block_count", - "required": true, - "schema": { - "$ref": "#/components/schemas/Uint64" - } - }, - { - "name": "newest_block_number", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockNumberOrPredefined" - } - }, - { - "name": "reward_percentiles", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "type": "number", - "format": "double" - } - } - } - ], - "result": { - "name": "Filecoin.EthFeeHistory.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthFeeHistoryResult" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGasPrice", - "params": [], - "result": { - "name": "Filecoin.EthGasPrice.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthBigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetBalance", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthAddress" - } - }, - { - "name": "block_param", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockNumberOrHash" - } - } - ], - "result": { - "name": "Filecoin.EthGetBalance.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthBigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetBlockByHash", - "params": [ - { - "name": "block_param", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockNumberOrHash" - } - }, - { - "name": "full_tx_info", - "required": true, - "schema": { - "type": "boolean" - } - } - ], - "result": { - "name": "Filecoin.EthGetBlockByHash.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Block" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetBlockByNumber", - "params": [ - { - "name": "block_param", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockNumberOrHash" - } - }, - { - "name": "full_tx_info", - "required": true, - "schema": { - "type": "boolean" - } - } - ], - "result": { - "name": "Filecoin.EthGetBlockByNumber.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Block" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetBlockTransactionCountByHash", - "params": [ - { - "name": "block_hash", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthHash" - } - } - ], - "result": { - "name": "Filecoin.EthGetBlockTransactionCountByHash.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Uint64" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetBlockTransactionCountByNumber", - "params": [ - { - "name": "block_number", - "required": true, - "schema": { - "$ref": "#/components/schemas/Int64" - } - } - ], - "result": { - "name": "Filecoin.EthGetBlockTransactionCountByNumber.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Uint64" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetCode", - "params": [ - { - "name": "eth_address", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthAddress" - } - }, - { - "name": "block_number_or_hash", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockNumberOrHash" - } - } - ], - "result": { - "name": "Filecoin.EthGetCode.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthBytes" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetMessageCidByTransactionHash", - "params": [ - { - "name": "tx_hash", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthHash" - } - } - ], - "result": { - "name": "Filecoin.EthGetMessageCidByTransactionHash.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Cid" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetStorageAt", - "params": [ - { - "name": "eth_address", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthAddress" - } - }, - { - "name": "position", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthBytes" - } - }, - { - "name": "block_number_or_hash", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockNumberOrHash" - } - } - ], - "result": { - "name": "Filecoin.EthGetStorageAt.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthBytes" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetTransactionByBlockHashAndIndex", - "params": [ - { - "name": "p1", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthHash" - } - }, - { - "name": "p2", - "required": true, - "schema": { - "$ref": "#/components/schemas/Uint64" - } - } - ], - "result": { - "name": "Filecoin.EthGetTransactionByBlockHashAndIndex.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/ApiEthTx" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetTransactionByBlockNumberAndIndex", - "params": [ - { - "name": "p1", - "required": true, - "schema": { - "$ref": "#/components/schemas/Uint64" - } - }, - { - "name": "p2", - "required": true, - "schema": { - "$ref": "#/components/schemas/Uint64" - } - } - ], - "result": { - "name": "Filecoin.EthGetTransactionByBlockNumberAndIndex.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/ApiEthTx" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetTransactionByHash", - "params": [ - { - "name": "tx_hash", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthHash" - } - } - ], - "result": { - "name": "Filecoin.EthGetTransactionByHash.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/ApiEthTx" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetTransactionByHashLimited", - "params": [ - { - "name": "tx_hash", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthHash" - } - }, - { - "name": "limit", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - } - ], - "result": { - "name": "Filecoin.EthGetTransactionByHashLimited.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/ApiEthTx" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetTransactionCount", - "params": [ - { - "name": "sender", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthAddress" - } - }, - { - "name": "block_param", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockNumberOrHash" - } - } - ], - "result": { - "name": "Filecoin.EthGetTransactionCount.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Uint64" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetTransactionHashByCid", - "params": [ - { - "name": "cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.EthGetTransactionHashByCid.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthHash" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthGetTransactionReceipt", - "params": [ - { - "name": "tx_hash", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthHash" - } - } - ], - "result": { - "name": "Filecoin.EthGetTransactionReceipt.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthTxReceipt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthMaxPriorityFeePerGas", - "params": [], - "result": { - "name": "Filecoin.EthMaxPriorityFeePerGas.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthBigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthNewBlockFilter", - "params": [], - "result": { - "name": "Filecoin.EthNewBlockFilter.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/FilterID" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthNewFilter", - "params": [ - { - "name": "filter_spec", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthFilterSpec" - } - } - ], - "result": { - "name": "Filecoin.EthNewFilter.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/FilterID" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthNewPendingTransactionFilter", - "params": [], - "result": { - "name": "Filecoin.EthNewPendingTransactionFilter.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/FilterID" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthProtocolVersion", - "params": [], - "result": { - "name": "Filecoin.EthProtocolVersion.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Uint64" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthSyncing", - "params": [], - "result": { - "name": "Filecoin.EthSyncing.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/EthSyncingResultLotusJson" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.EthUninstallFilter", - "params": [ - { - "name": "filter_id", - "required": true, - "schema": { - "$ref": "#/components/schemas/FilterID" - } - } - ], - "result": { - "name": "Filecoin.EthUninstallFilter.Result", - "required": true, - "schema": { - "type": "boolean" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.F3GetCertificate", - "params": [ - { - "name": "instance", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - ], - "result": { - "name": "Filecoin.F3GetCertificate.Result", - "required": true, - "schema": true - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.F3GetECPowerTable", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSetKey" - } - } - ], - "result": { - "name": "Filecoin.F3GetECPowerTable.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/F3PowerEntry" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.F3GetF3PowerTable", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "$ref": "#/components/schemas/F3TipSetKey" - } - } - ], - "result": { - "name": "Filecoin.F3GetF3PowerTable.Result", - "required": true, - "schema": true - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.F3GetLatestCertificate", - "params": [], - "result": { - "name": "Filecoin.F3GetLatestCertificate.Result", - "required": true, - "schema": true - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.F3Participate", - "params": [ - { - "name": "miner_address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "new_lease_expiration", - "required": true, - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "old_lease_expiration", - "required": true, - "schema": { - "type": "string", - "format": "date-time" - } - } - ], - "result": { - "name": "Filecoin.F3Participate.Result", - "required": true, - "schema": { - "type": "boolean" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.GasEstimateFeeCap", - "params": [ - { - "name": "message", - "required": true, - "schema": { - "$ref": "#/components/schemas/Message" - } - }, - { - "name": "max_queue_blocks", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.GasEstimateFeeCap.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.GasEstimateGasLimit", - "params": [ - { - "name": "msg", - "required": true, - "schema": { - "$ref": "#/components/schemas/Message" - } - }, - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.GasEstimateGasLimit.Result", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.GasEstimateGasPremium", - "params": [ - { - "name": "nblocksincl", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "sender", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "gas_limit", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.GasEstimateGasPremium.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.GasEstimateMessageGas", - "params": [ - { - "name": "msg", - "required": true, - "schema": { - "$ref": "#/components/schemas/Message" - } - }, - { - "name": "spec", - "required": true, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/MessageSendSpec" - }, - { - "type": "null" - } - ] - } - }, - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.GasEstimateMessageGas.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Message" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.GetActorEventsRaw", - "params": [ - { - "name": "filter", - "required": true, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/ActorEventFilter" - }, - { - "type": "null" - } - ] - } - } - ], - "result": { - "name": "Filecoin.GetActorEventsRaw.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/ActorEvent" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MarketAddBalance", - "params": [ - { - "name": "wallet", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "amount", - "required": true, - "schema": { - "$ref": "#/components/schemas/BigInt" - } - } - ], - "result": { - "name": "Filecoin.MarketAddBalance.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MinerCreateBlock", - "params": [ - { - "name": "block_template", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockTemplate" - } - } - ], - "result": { - "name": "Filecoin.MinerCreateBlock.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BlockMessage" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MinerGetBaseInfo", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "epoch", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.MinerGetBaseInfo.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/MiningBaseInfo" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MpoolBatchPush", - "params": [ - { - "name": "msgs", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/SignedMessage" - } - } - } - ], - "result": { - "name": "Filecoin.MpoolBatchPush.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MpoolBatchPushUntrusted", - "params": [ - { - "name": "msgs", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/SignedMessage" - } - } - } - ], - "result": { - "name": "Filecoin.MpoolBatchPushUntrusted.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MpoolGetNonce", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - } - ], - "result": { - "name": "Filecoin.MpoolGetNonce.Result", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MpoolPending", - "params": [ - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.MpoolPending.Result", - "required": true, - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SignedMessage" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MpoolPush", - "params": [ - { - "name": "msg", - "required": true, - "schema": { - "$ref": "#/components/schemas/SignedMessage" - } - } - ], - "result": { - "name": "Filecoin.MpoolPush.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MpoolPushMessage", - "params": [ - { - "name": "usmg", - "required": true, - "schema": { - "$ref": "#/components/schemas/Message" - } - }, - { - "name": "spec", - "required": true, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/MessageSendSpec" - }, - { - "type": "null" - } - ] - } - } - ], - "result": { - "name": "Filecoin.MpoolPushMessage.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/SignedMessage" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MpoolPushUntrusted", - "params": [ - { - "name": "msg", - "required": true, - "schema": { - "$ref": "#/components/schemas/SignedMessage" - } - } - ], - "result": { - "name": "Filecoin.MpoolPushUntrusted.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MpoolSelect", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - }, - { - "name": "ticket_quality", - "required": true, - "schema": { - "type": "number", - "format": "double" - } - } - ], - "result": { - "name": "Filecoin.MpoolSelect.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/SignedMessage" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MsigGetAvailableBalance", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.MsigGetAvailableBalance.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MsigGetPending", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.MsigGetPending.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Transaction" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MsigGetVested", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "start_tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - }, - { - "name": "end_tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.MsigGetVested.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.MsigGetVestingSchedule", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.MsigGetVestingSchedule.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/MsigVesting" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetAddrsListen", - "params": [], - "result": { - "name": "Filecoin.NetAddrsListen.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/AddrInfo" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetAgentVersion", - "params": [ - { - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "result": { - "name": "Filecoin.NetAgentVersion.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetAutoNatStatus", - "params": [], - "result": { - "name": "Filecoin.NetAutoNatStatus.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/NatStatusResult" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetConnect", - "params": [ - { - "name": "info", - "required": true, - "schema": { - "$ref": "#/components/schemas/AddrInfo" - } - } - ], - "result": { - "name": "Filecoin.NetConnect.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetDisconnect", - "params": [ - { - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "result": { - "name": "Filecoin.NetDisconnect.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetFindPeer", - "params": [ - { - "name": "peer_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "result": { - "name": "Filecoin.NetFindPeer.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/AddrInfo" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetListening", - "params": [], - "result": { - "name": "Filecoin.NetListening.Result", - "required": true, - "schema": { - "type": "boolean" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetPeers", - "params": [], - "result": { - "name": "Filecoin.NetPeers.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/AddrInfo" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetProtectAdd", - "params": [ - { - "name": "peer_ids", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - } - ], - "result": { - "name": "Filecoin.NetProtectAdd.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetProtectList", - "params": [], - "result": { - "name": "Filecoin.NetProtectList.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetProtectRemove", - "params": [ - { - "name": "peer_ids", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - } - ], - "result": { - "name": "Filecoin.NetProtectRemove.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NetVersion", - "params": [], - "result": { - "name": "Filecoin.NetVersion.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.NodeStatus", - "params": [], - "result": { - "name": "Filecoin.NodeStatus.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/NodeStatusResult" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.Session", - "params": [], - "result": { - "name": "Filecoin.Session.Result", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.Shutdown", - "params": [], - "result": { - "name": "Filecoin.Shutdown.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StartTime", - "params": [], - "result": { - "name": "Filecoin.StartTime.Result", - "required": true, - "schema": { - "type": "string", - "format": "date-time" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateAccountKey", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateAccountKey.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateCall", - "params": [ - { - "name": "message", - "required": true, - "schema": { - "$ref": "#/components/schemas/Message" - } - }, - { - "name": "tsk", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateCall.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/ApiInvocResult" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateCirculatingSupply", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateCirculatingSupply.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateDealProviderCollateralBounds", - "params": [ - { - "name": "size", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "verified", - "required": true, - "schema": { - "type": "boolean" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateDealProviderCollateralBounds.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/DealCollateralBounds" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetActor", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetActor.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/ActorState" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetAllAllocations", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetAllAllocations.Result", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/Allocation" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetAllClaims", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetAllClaims.Result", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ClaimLotusJson" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetAllocation", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "allocation_id", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetAllocation.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Allocation" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetAllocationForPendingDeal", - "params": [ - { - "name": "deal_id", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetAllocationForPendingDeal.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Allocation" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetAllocationIdForPendingDeal", - "params": [ - { - "name": "deal_id", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetAllocationIdForPendingDeal.Result", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetAllocations", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetAllocations.Result", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/Allocation" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetBeaconEntry", - "params": [ - { - "name": "epoch", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - } - ], - "result": { - "name": "Filecoin.StateGetBeaconEntry.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BeaconEntry" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetClaim", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "claim_id", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetClaim.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/ClaimLotusJson" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetClaims", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetClaims.Result", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ClaimLotusJson" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetNetworkParams", - "params": [], - "result": { - "name": "Filecoin.StateGetNetworkParams.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/NetworkParams" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetRandomnessDigestFromBeacon", - "params": [ - { - "name": "rand_epoch", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetRandomnessDigestFromBeacon.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetRandomnessDigestFromTickets", - "params": [ - { - "name": "rand_epoch", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetRandomnessDigestFromTickets.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetRandomnessFromBeacon", - "params": [ - { - "name": "personalization", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "rand_epoch", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "entropy", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetRandomnessFromBeacon.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetRandomnessFromTickets", - "params": [ - { - "name": "personalization", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "rand_epoch", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "entropy", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetRandomnessFromTickets.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateGetReceipt", - "params": [ - { - "name": "cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateGetReceipt.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Receipt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateListActors", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateListActors.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Address" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateListMessages", - "params": [ - { - "name": "message_filter", - "required": true, - "schema": { - "$ref": "#/components/schemas/MessageFilter" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - }, - { - "name": "max_height", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - } - ], - "result": { - "name": "Filecoin.StateListMessages.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateListMiners", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateListMiners.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Address" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateLookupID", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateLookupID.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateLookupRobustAddress", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateLookupRobustAddress.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMarketBalance", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMarketBalance.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/MarketBalance" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMarketDeals", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMarketDeals.Result", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/ApiMarketDeal" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMarketParticipants", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMarketParticipants.Result", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/MarketBalance" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMarketStorageDeal", - "params": [ - { - "name": "deal_id", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMarketStorageDeal.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/ApiMarketDeal" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerActiveSectors", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerActiveSectors.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/SectorOnChainInfo" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerAllocated", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerAllocated.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BitField" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerAvailableBalance", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerAvailableBalance.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerDeadlines", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerDeadlines.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/ApiDeadline" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerFaults", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerFaults.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BitField" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerInfo", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerInfo.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/MinerInfo" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerInitialPledgeCollateral", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "sector_pre_commit_info", - "required": true, - "schema": { - "$ref": "#/components/schemas/SectorPreCommitInfo" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerInitialPledgeCollateral.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerPartitions", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "deadline_index", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerPartitions.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/MinerPartitions" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerPower", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerPower.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/MinerPower" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerPreCommitDepositForPower", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "sector_pre_commit_info", - "required": true, - "schema": { - "$ref": "#/components/schemas/SectorPreCommitInfo" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerPreCommitDepositForPower.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerProvingDeadline", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerProvingDeadline.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/ApiDeadlineInfo" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerRecoveries", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerRecoveries.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BitField" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerSectorAllocated", - "params": [ - { - "name": "miner_address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "sector_number", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerSectorAllocated.Result", - "required": true, - "schema": { - "type": "boolean" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerSectorCount", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerSectorCount.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/MinerSectors" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateMinerSectors", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "sectors", - "required": true, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/BitField" - }, - { - "type": "null" - } - ] - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateMinerSectors.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/SectorOnChainInfo" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateNetworkName", - "params": [], - "result": { - "name": "Filecoin.StateNetworkName.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateNetworkVersion", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateNetworkVersion.Result", - "required": true, - "schema": { - "type": "integer", - "format": "uint32", - "minimum": 0 - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateReadState", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateReadState.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/ApiActorState" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateReplay", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - }, - { - "name": "message_cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.StateReplay.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/ApiInvocResult" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateSearchMsg", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - }, - { - "name": "message_cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - }, - { - "name": "look_back_limit", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "allow_replaced", - "required": true, - "schema": { - "type": "boolean" - } - } - ], - "result": { - "name": "Filecoin.StateSearchMsg.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/MessageLookup" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateSectorExpiration", - "params": [ - { - "name": "miner_address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "sector_number", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateSectorExpiration.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/SectorExpiration" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateSectorGetInfo", - "params": [ - { - "name": "miner_address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "sector_number", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateSectorGetInfo.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/SectorOnChainInfo" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateSectorPartition", - "params": [ - { - "name": "miner_address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "sector_number", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateSectorPartition.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/SectorLocation" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateSectorPreCommitInfo", - "params": [ - { - "name": "miner_address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "sector_number", - "required": true, - "schema": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateSectorPreCommitInfo.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/SectorPreCommitOnChainInfo" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateVMCirculatingSupplyInternal", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateVMCirculatingSupplyInternal.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/CirculatingSupply" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateVerifiedClientStatus", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateVerifiedClientStatus.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/BigInt" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateVerifiedRegistryRootKey", - "params": [ - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateVerifiedRegistryRootKey.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateVerifierStatus", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "tipset_key", - "required": true, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - } - } - ], - "result": { - "name": "Filecoin.StateVerifierStatus.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/BigInt" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.StateWaitMsg", - "params": [ - { - "name": "message_cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - }, - { - "name": "confidence", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "look_back_limit", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "allow_replaced", - "required": true, - "schema": { - "type": "boolean" - } - } - ], - "result": { - "name": "Filecoin.StateWaitMsg.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/MessageLookup" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.SyncCheckBad", - "params": [ - { - "name": "cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.SyncCheckBad.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.SyncMarkBad", - "params": [ - { - "name": "cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - } - ], - "result": { - "name": "Filecoin.SyncMarkBad.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.SyncState", - "params": [], - "result": { - "name": "Filecoin.SyncState.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/RPCSyncState" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.SyncSubmitBlock", - "params": [ - { - "name": "blk", - "required": true, - "schema": { - "$ref": "#/components/schemas/GossipBlock" - } - } - ], - "result": { - "name": "Filecoin.SyncSubmitBlock.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.Version", - "params": [], - "result": { - "name": "Filecoin.Version.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/PublicVersion" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletBalance", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - } - ], - "result": { - "name": "Filecoin.WalletBalance.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/BigInt" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletDefaultAddress", - "params": [], - "result": { - "name": "Filecoin.WalletDefaultAddress.Result", - "required": false, - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Address" - }, - { - "type": "null" - } - ] - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletDelete", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - } - ], - "result": { - "name": "Filecoin.WalletDelete.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletExport", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - } - ], - "result": { - "name": "Filecoin.WalletExport.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/KeyInfo" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletHas", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - } - ], - "result": { - "name": "Filecoin.WalletHas.Result", - "required": true, - "schema": { - "type": "boolean" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletImport", - "params": [ - { - "name": "key", - "required": true, - "schema": { - "$ref": "#/components/schemas/KeyInfo" - } - } - ], - "result": { - "name": "Filecoin.WalletImport.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletList", - "params": [], - "result": { - "name": "Filecoin.WalletList.Result", - "required": false, - "schema": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Address" - } - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletNew", - "params": [ - { - "name": "signature_type", - "required": true, - "schema": { - "$ref": "#/components/schemas/SignatureTypeLotusJson" - } - } - ], - "result": { - "name": "Filecoin.WalletNew.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletSetDefault", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - } - ], - "result": { - "name": "Filecoin.WalletSetDefault.Result", - "required": true, - "schema": { - "type": "null" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletSign", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "message", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - } - ], - "result": { - "name": "Filecoin.WalletSign.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Signature" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletSignMessage", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "message", - "required": true, - "schema": { - "$ref": "#/components/schemas/Message" - } - } - ], - "result": { - "name": "Filecoin.WalletSignMessage.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/SignedMessage" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletValidateAddress", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "type": "string" - } - } - ], - "result": { - "name": "Filecoin.WalletValidateAddress.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.WalletVerify", - "params": [ - { - "name": "address", - "required": true, - "schema": { - "$ref": "#/components/schemas/Address" - } - }, - { - "name": "message", - "required": true, - "schema": { - "$ref": "#/components/schemas/Base64String" - } - }, - { - "name": "signature", - "required": true, - "schema": { - "$ref": "#/components/schemas/Signature" - } - } - ], - "result": { - "name": "Filecoin.WalletVerify.Result", - "required": true, - "schema": { - "type": "boolean" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Filecoin.Web3ClientVersion", - "params": [], - "result": { - "name": "Filecoin.Web3ClientVersion.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Forest.NetInfo", - "params": [], - "result": { - "name": "Forest.NetInfo.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/NetInfoResult" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Forest.StateCompute", - "params": [ - { - "name": "epoch", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - } - ], - "result": { - "name": "Forest.StateCompute.Result", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - }, - "paramStructure": "by-position" - }, - { - "name": "Forest.StateFetchRoot", - "params": [ - { - "name": "root_cid", - "required": true, - "schema": { - "$ref": "#/components/schemas/Cid" - } - }, - { - "name": "save_to_file", - "required": true, - "schema": { - "type": [ - "string", - "null" - ] - } - } - ], - "result": { - "name": "Forest.StateFetchRoot.Result", - "required": true, - "schema": { - "type": "string" - } - }, - "paramStructure": "by-position" - } - ], - "components": { - "schemas": { - "ActorEvent": { - "type": "object", - "required": [ - "emitter", - "entries", - "height", - "msgCid", - "reverted", - "tipsetKey" - ], - "properties": { - "emitter": { - "$ref": "#/components/schemas/Address" - }, - "entries": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EventEntry" - } - }, - "height": { - "type": "integer", - "format": "int64" - }, - "msgCid": { - "$ref": "#/components/schemas/Cid" - }, - "reverted": { - "type": "boolean" - }, - "tipsetKey": { - "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" - } - } - }, - "ActorEventBlock": { - "type": "object", - "required": [ - "codec", - "value" - ], - "properties": { - "codec": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "value": { - "$ref": "#/components/schemas/Base64String" - } - } - }, - "ActorEventFilter": { - "type": "object", - "properties": { - "addresses": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Address" - } - }, - "fields": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ActorEventBlock" - } - } - }, - "fromHeight": { - "type": [ - "integer", - "null" - ], - "format": "int64" - }, - "tipsetKey": { - "anyOf": [ - { - "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" - }, - { - "type": "null" - } - ] - }, - "toHeight": { - "type": [ - "integer", - "null" - ], - "format": "int64" - } - } - }, - "ActorState": { - "type": "object", - "required": [ - "Balance", - "Code", - "Head", - "Nonce" - ], - "properties": { - "Balance": { - "$ref": "#/components/schemas/BigInt" - }, - "Code": { - "$ref": "#/components/schemas/Cid" - }, - "DelegatedAddress": { - "$ref": "#/components/schemas/Nullable_Address" - }, - "Head": { - "$ref": "#/components/schemas/Cid" - }, - "Nonce": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "ActorTrace": { - "type": "object", - "required": [ - "Id", - "State" - ], - "properties": { - "Id": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "State": { - "$ref": "#/components/schemas/ActorState" - } - } - }, - "AddrInfo": { - "type": "object", - "required": [ - "Addrs", - "ID" - ], - "properties": { - "Addrs": { - "type": "array", - "items": { - "type": "string" - }, - "uniqueItems": true - }, - "ID": { - "type": "string" - } - } - }, - "Address": { - "type": "string" - }, - "Allocation": { - "type": "object", - "required": [ - "Client", - "Data", - "Expiration", - "Provider", - "Size", - "TermMax", - "TermMin" - ], - "properties": { - "Client": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Data": { - "$ref": "#/components/schemas/Cid" - }, - "Expiration": { - "type": "integer", - "format": "int64" - }, - "Provider": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Size": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "TermMax": { - "type": "integer", - "format": "int64" - }, - "TermMin": { - "type": "integer", - "format": "int64" - } - } - }, - "ApiActorState": { - "type": "object", - "required": [ - "Balance", - "Code", - "State" - ], - "properties": { - "Balance": { - "$ref": "#/components/schemas/BigInt" - }, - "Code": { - "$ref": "#/components/schemas/Cid" - }, - "State": { - "$ref": "#/components/schemas/ApiState" - } - } - }, - "ApiDeadline": { - "type": "object", - "required": [ - "DisputableProofCount", - "PostSubmissions" - ], - "properties": { - "DisputableProofCount": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "PostSubmissions": { - "$ref": "#/components/schemas/BitField" - } - } - }, - "ApiDeadlineInfo": { - "type": "string" - }, - "ApiDealProposal": { - "type": "object", - "required": [ - "Client", - "ClientCollateral", - "EndEpoch", - "Label", - "PieceCID", - "PieceSize", - "Provider", - "ProviderCollateral", - "StartEpoch", - "StoragePricePerEpoch", - "VerifiedDeal" - ], - "properties": { - "Client": { - "$ref": "#/components/schemas/Address" - }, - "ClientCollateral": { - "$ref": "#/components/schemas/BigInt" - }, - "EndEpoch": { - "type": "integer", - "format": "int64" - }, - "Label": { - "type": "string" - }, - "PieceCID": { - "$ref": "#/components/schemas/Cid" - }, - "PieceSize": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Provider": { - "$ref": "#/components/schemas/Address" - }, - "ProviderCollateral": { - "$ref": "#/components/schemas/BigInt" - }, - "StartEpoch": { - "type": "integer", - "format": "int64" - }, - "StoragePricePerEpoch": { - "$ref": "#/components/schemas/BigInt" - }, - "VerifiedDeal": { - "type": "boolean" - } - } - }, - "ApiDealState": { - "type": "object", - "required": [ - "LastUpdatedEpoch", - "SectorStartEpoch", - "SlashEpoch" - ], - "properties": { - "LastUpdatedEpoch": { - "type": "integer", - "format": "int64" - }, - "SectorStartEpoch": { - "type": "integer", - "format": "int64" - }, - "SlashEpoch": { - "type": "integer", - "format": "int64" - } - } - }, - "ApiEthTx": { - "type": "object", - "required": [ - "blockHash", - "blockNumber", - "chainId", - "from", - "gas", - "hash", - "input", - "nonce", - "r", - "s", - "transactionIndex", - "type", - "v", - "value" - ], - "properties": { - "accessList": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/EthHash" - } - }, - "blockHash": { - "$ref": "#/components/schemas/EthHash" - }, - "blockNumber": { - "$ref": "#/components/schemas/Uint64" - }, - "chainId": { - "$ref": "#/components/schemas/Uint64" - }, - "from": { - "$ref": "#/components/schemas/EthAddress" - }, - "gas": { - "$ref": "#/components/schemas/Uint64" - }, - "gasPrice": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthBigInt" - }, - { - "type": "null" - } - ] - }, - "hash": { - "$ref": "#/components/schemas/EthHash" - }, - "input": { - "$ref": "#/components/schemas/EthBytes" - }, - "maxFeePerGas": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthBigInt" - }, - { - "type": "null" - } - ] - }, - "maxPriorityFeePerGas": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthBigInt" - }, - { - "type": "null" - } - ] - }, - "nonce": { - "$ref": "#/components/schemas/Uint64" - }, - "r": { - "$ref": "#/components/schemas/EthBigInt" - }, - "s": { - "$ref": "#/components/schemas/EthBigInt" - }, - "to": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthAddress" - }, - { - "type": "null" - } - ] - }, - "transactionIndex": { - "$ref": "#/components/schemas/Uint64" - }, - "type": { - "$ref": "#/components/schemas/Uint64" - }, - "v": { - "$ref": "#/components/schemas/EthBigInt" - }, - "value": { - "$ref": "#/components/schemas/EthBigInt" - } - } - }, - "ApiInvocResult": { - "type": "object", - "required": [ - "Duration", - "Error", - "GasCost", - "Msg", - "MsgCid", - "MsgRct" - ], - "properties": { - "Duration": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Error": { - "type": "string" - }, - "ExecutionTrace": { - "anyOf": [ - { - "$ref": "#/components/schemas/ExecutionTrace" - }, - { - "type": "null" - } - ] - }, - "GasCost": { - "$ref": "#/components/schemas/MessageGasCost" - }, - "Msg": { - "$ref": "#/components/schemas/Message" - }, - "MsgCid": { - "$ref": "#/components/schemas/Cid" - }, - "MsgRct": { - "$ref": "#/components/schemas/Nullable_Receipt" - } - } - }, - "ApiMarketDeal": { - "type": "object", - "required": [ - "Proposal", - "State" - ], - "properties": { - "Proposal": { - "$ref": "#/components/schemas/ApiDealProposal" - }, - "State": { - "$ref": "#/components/schemas/ApiDealState" - } - } - }, - "ApiMessage": { - "type": "object", - "required": [ - "Cid", - "Message" - ], - "properties": { - "Cid": { - "$ref": "#/components/schemas/Cid" - }, - "Message": { - "$ref": "#/components/schemas/Message" - } - } - }, - "ApiReceipt": { - "type": "object", - "required": [ - "EventsRoot", - "ExitCode", - "GasUsed", - "Return" - ], - "properties": { - "EventsRoot": { - "$ref": "#/components/schemas/Nullable_Cid" - }, - "ExitCode": { - "$ref": "#/components/schemas/ExitCode" - }, - "GasUsed": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Return": { - "$ref": "#/components/schemas/Base64String" - } - } - }, - "ApiState": { - "type": "object", - "required": [ - "BuiltinActors" - ], - "properties": { - "BuiltinActors": true - } - }, - "Base64String": { - "type": [ - "string", - "null" - ] - }, - "BeaconEntry": { - "type": "object", - "required": [ - "Data", - "Round" - ], - "properties": { - "Data": { - "$ref": "#/components/schemas/Base64String" - }, - "Round": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "BeneficiaryTerm": { - "type": "object", - "required": [ - "Expiration", - "Quota", - "UsedQuota" - ], - "properties": { - "Expiration": { - "description": "The epoch at which the beneficiary's rights expire and revert to the owner", - "type": "integer", - "format": "int64" - }, - "Quota": { - "description": "The total amount the current beneficiary can withdraw. Monotonic, but reset when beneficiary changes.", - "$ref": "#/components/schemas/BigInt" - }, - "UsedQuota": { - "description": "The amount of quota the current beneficiary has already withdrawn", - "$ref": "#/components/schemas/BigInt" - } - } - }, - "BigInt": { - "type": "string" - }, - "BitField": { - "type": [ - "array", - "null" - ], - "items": { - "type": "integer", - "format": "uint8", - "minimum": 0 - } - }, - "Block": { - "type": "object", - "required": [ - "baseFeePerGas", - "difficulty", - "extraData", - "gasLimit", - "gasUsed", - "hash", - "logsBloom", - "miner", - "mixHash", - "nonce", - "number", - "parentHash", - "receiptsRoot", - "sha3Uncles", - "size", - "stateRoot", - "timestamp", - "totalDifficulty", - "transactions", - "transactionsRoot", - "uncles" - ], - "properties": { - "baseFeePerGas": { - "$ref": "#/components/schemas/EthBigInt" - }, - "difficulty": { - "$ref": "#/components/schemas/Uint64" - }, - "extraData": { - "$ref": "#/components/schemas/EthBytes" - }, - "gasLimit": { - "$ref": "#/components/schemas/Uint64" - }, - "gasUsed": { - "$ref": "#/components/schemas/Uint64" - }, - "hash": { - "$ref": "#/components/schemas/EthHash" - }, - "logsBloom": { - "$ref": "#/components/schemas/Bloom" - }, - "miner": { - "$ref": "#/components/schemas/EthAddress" - }, - "mixHash": { - "$ref": "#/components/schemas/EthHash" - }, - "nonce": { - "$ref": "#/components/schemas/Nonce" - }, - "number": { - "$ref": "#/components/schemas/Uint64" - }, - "parentHash": { - "$ref": "#/components/schemas/EthHash" - }, - "receiptsRoot": { - "$ref": "#/components/schemas/EthHash" - }, - "sha3Uncles": { - "$ref": "#/components/schemas/EthHash" - }, - "size": { - "$ref": "#/components/schemas/Uint64" - }, - "stateRoot": { - "$ref": "#/components/schemas/EthHash" - }, - "timestamp": { - "$ref": "#/components/schemas/Uint64" - }, - "totalDifficulty": { - "$ref": "#/components/schemas/Uint64" - }, - "transactions": { - "$ref": "#/components/schemas/Transactions" - }, - "transactionsRoot": { - "$ref": "#/components/schemas/EthHash" - }, - "uncles": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EthHash" - } - } - } - }, - "BlockHash": { - "type": "object", - "required": [ - "blockHash", - "requireCanonical" - ], - "properties": { - "blockHash": { - "$ref": "#/components/schemas/EthHash" - }, - "requireCanonical": { - "type": "boolean" - } - } - }, - "BlockHeader": { - "type": "object", - "required": [ - "BeaconEntries", - "ForkSignaling", - "Height", - "Messages", - "Miner", - "ParentBaseFee", - "ParentMessageReceipts", - "ParentStateRoot", - "ParentWeight", - "Parents", - "Timestamp", - "WinPoStProof" - ], - "properties": { - "BLSAggregate": { - "$ref": "#/components/schemas/Nullable_Signature" - }, - "BeaconEntries": { - "$ref": "#/components/schemas/Nullable_Array_of_BeaconEntry" - }, - "BlockSig": { - "$ref": "#/components/schemas/Nullable_Signature" - }, - "ElectionProof": { - "$ref": "#/components/schemas/Nullable_ElectionProof" - }, - "ForkSignaling": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Height": { - "type": "integer", - "format": "int64" - }, - "Messages": { - "$ref": "#/components/schemas/Cid" - }, - "Miner": { - "$ref": "#/components/schemas/Address" - }, - "ParentBaseFee": { - "$ref": "#/components/schemas/BigInt" - }, - "ParentMessageReceipts": { - "$ref": "#/components/schemas/Cid" - }, - "ParentStateRoot": { - "$ref": "#/components/schemas/Cid" - }, - "ParentWeight": { - "$ref": "#/components/schemas/BigInt" - }, - "Parents": { - "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" - }, - "Ticket": { - "$ref": "#/components/schemas/Nullable_Ticket" - }, - "Timestamp": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "WinPoStProof": { - "$ref": "#/components/schemas/Nullable_Array_of_PoStProof" - } - } - }, - "BlockMessage": { - "type": "object", - "required": [ - "BlsMessages", - "Header", - "SecpkMessages" - ], - "properties": { - "BlsMessages": { - "$ref": "#/components/schemas/Nullable_Array_of_Cid" - }, - "Header": { - "$ref": "#/components/schemas/BlockHeader" - }, - "SecpkMessages": { - "$ref": "#/components/schemas/Nullable_Array_of_Cid" - } - } - }, - "BlockMessages": { - "type": "object", - "required": [ - "BlsMessages", - "Cids", - "SecpkMessages" - ], - "properties": { - "BlsMessages": { - "$ref": "#/components/schemas/Nullable_Array_of_Message" - }, - "Cids": { - "$ref": "#/components/schemas/Nullable_Array_of_Cid" - }, - "SecpkMessages": { - "$ref": "#/components/schemas/Nullable_Array_of_SignedMessage" - } - } - }, - "BlockNumber": { - "type": "object", - "required": [ - "blockNumber" - ], - "properties": { - "blockNumber": { - "$ref": "#/components/schemas/Int64" - } - } - }, - "BlockNumberOrHash": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Int64" - }, - { - "$ref": "#/components/schemas/EthHash" - }, - { - "$ref": "#/components/schemas/BlockNumber" - }, - { - "$ref": "#/components/schemas/BlockHash" - } - ] - }, - "BlockNumberOrPredefined": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Int64" - } - ] - }, - "BlockTemplate": { - "type": "object", - "required": [ - "BeaconValues", - "Epoch", - "Eproof", - "Messages", - "Miner", - "Parents", - "Ticket", - "Timestamp", - "WinningPoStProof" - ], - "properties": { - "BeaconValues": { - "$ref": "#/components/schemas/Nullable_Array_of_BeaconEntry" - }, - "Epoch": { - "$ref": "#/components/schemas/int64" - }, - "Eproof": { - "$ref": "#/components/schemas/ElectionProof" - }, - "Messages": { - "$ref": "#/components/schemas/Nullable_Array_of_SignedMessage" - }, - "Miner": { - "$ref": "#/components/schemas/Address" - }, - "Parents": { - "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" - }, - "Ticket": { - "$ref": "#/components/schemas/Ticket" - }, - "Timestamp": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "WinningPoStProof": { - "$ref": "#/components/schemas/Nullable_Array_of_PoStProof" - } - } - }, - "Bloom": { - "type": "string" - }, - "ChainExportParams": { - "type": "object", - "required": [ - "dry_run", - "epoch", - "output_path", - "recent_roots", - "skip_checksum", - "tipset_keys" - ], - "properties": { - "dry_run": { - "type": "boolean" - }, - "epoch": { - "type": "integer", - "format": "int64" - }, - "output_path": { - "type": "string" - }, - "recent_roots": { - "type": "integer", - "format": "int64" - }, - "skip_checksum": { - "type": "boolean" - }, - "tipset_keys": { - "$ref": "#/components/schemas/Nullable_Array_of_Cid" - } - } - }, - "Cid": { - "type": "object", - "required": [ - "/" - ], - "properties": { - "/": { - "type": "string" - } - } - }, - "CirculatingSupply": { - "type": "object", - "required": [ - "FilBurnt", - "FilCirculating", - "FilLocked", - "FilMined", - "FilReserveDisbursed", - "FilVested" - ], - "properties": { - "FilBurnt": { - "$ref": "#/components/schemas/BigInt" - }, - "FilCirculating": { - "$ref": "#/components/schemas/BigInt" - }, - "FilLocked": { - "$ref": "#/components/schemas/BigInt" - }, - "FilMined": { - "$ref": "#/components/schemas/BigInt" - }, - "FilReserveDisbursed": { - "$ref": "#/components/schemas/BigInt" - }, - "FilVested": { - "$ref": "#/components/schemas/BigInt" - } - } - }, - "Claim": { - "type": "object", - "required": [ - "QualityAdjPower", - "RawBytePower" - ], - "properties": { - "QualityAdjPower": { - "description": "Sum of quality adjusted power for a miner's sectors.", - "$ref": "#/components/schemas/BigInt" - }, - "RawBytePower": { - "description": "Sum of raw byte power for a miner's sectors.", - "$ref": "#/components/schemas/BigInt" - } - } - }, - "ClaimLotusJson": { - "type": "object", - "required": [ - "Client", - "Data", - "Provider", - "Sector", - "Size", - "TermMax", - "TermMin", - "TermStart" - ], - "properties": { - "Client": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Data": { - "$ref": "#/components/schemas/Cid" - }, - "Provider": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Sector": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Size": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "TermMax": { - "type": "integer", - "format": "int64" - }, - "TermMin": { - "type": "integer", - "format": "int64" - }, - "TermStart": { - "type": "integer", - "format": "int64" - } - } - }, - "DealCollateralBounds": { - "type": "object", - "required": [ - "Max", - "Min" - ], - "properties": { - "Max": { - "$ref": "#/components/schemas/BigInt" - }, - "Min": { - "$ref": "#/components/schemas/BigInt" - } - } - }, - "ElectionProof": { - "type": "object", - "required": [ - "VRFProof", - "WinCount" - ], - "properties": { - "VRFProof": { - "$ref": "#/components/schemas/Base64String" - }, - "WinCount": { - "type": "integer", - "format": "int64" - } - } - }, - "EthAddress": { - "type": "string" - }, - "EthBigInt": { - "type": "string" - }, - "EthBytes": { - "type": "string" - }, - "EthCallMessage": { - "type": "object", - "required": [ - "data", - "gas", - "gasPrice", - "value" - ], - "properties": { - "data": { - "$ref": "#/components/schemas/EthBytes" - }, - "from": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthAddress" - }, - { - "type": "null" - } - ] - }, - "gas": { - "$ref": "#/components/schemas/Uint64" - }, - "gasPrice": { - "$ref": "#/components/schemas/EthBigInt" - }, - "to": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthAddress" - }, - { - "type": "null" - } - ] - }, - "value": { - "$ref": "#/components/schemas/EthBigInt" - } - } - }, - "EthFeeHistoryResult": { - "type": "object", - "required": [ - "baseFeePerGas", - "gasUsedRatio", - "oldestBlock" - ], - "properties": { - "baseFeePerGas": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EthBigInt" - } - }, - "gasUsedRatio": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "oldestBlock": { - "$ref": "#/components/schemas/Uint64" - }, - "reward": { - "type": [ - "array", - "null" - ], - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EthBigInt" - } - } - } - } - }, - "EthFilterSpec": { - "description": "Represents a filter specification for querying Ethereum event logs. This struct can be used to specify criteria for filtering Ethereum event logs based on block range, address, topics, and block hash. It is useful for making requests to Ethereum nodes to fetch logs that match certain conditions.\n\n# Fields\n\n* `from_block` - Optional field interpreted as an epoch (in hex): - `\"latest\"`: latest mined block. - `\"earliest\"`: first block. - `\"pending\"`: blocks that have not yet been mined. If omitted, the default value is `\"latest\"`. This field is skipped during serialization if `None`.\n\n* `to_block` - Optional field interpreted as an epoch (in hex): - `\"latest\"`: latest mined block. - `\"earliest\"`: first block. - `\"pending\"`: blocks that have not yet been mined. If omitted, the default value is `\"latest\"`. This field is skipped during serialization if `None`.\n\n* `address` - Actor address or a list of addresses (`Vec`) from which event logs should originate. If the filter needs to match a single address, it can be specified as single element vector. This field is required and cannot be omitted.\n\n* `topics` - List of topics (`EthTopicSpec`) to be matched in the event logs.\n\n* `block_hash` - Optional field specifying a block hash (`Hash`) Restricts event logs returned to those emitted from messages contained in this tipset. When `block_hash` is provided, neither `from_block` nor `to_block` can be specified. This field is skipped during serialization if `None`. [the spec](https://github.com/filecoin-project/lotus/blob/475139ff95407ed9d55d3a2ef87e28da66512937/chain/types/ethtypes/eth_types.go#L602-L627).", - "type": "object", - "required": [ - "address", - "topics" - ], - "properties": { - "address": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EthAddress" - } - }, - "blockHash": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthHash" - }, - { - "type": "null" - } - ] - }, - "fromBlock": { - "type": [ - "string", - "null" - ] - }, - "toBlock": { - "type": [ - "string", - "null" - ] - }, - "topics": { - "$ref": "#/components/schemas/EthTopicSpec" - } - } - }, - "EthHash": { - "type": "string" - }, - "EthHashList": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EthHash" - } - }, - "EthLog": { - "description": "Represents the results of an event filter execution.", - "type": "object", - "required": [ - "address", - "blockHash", - "blockNumber", - "data", - "logIndex", - "removed", - "topics", - "transactionHash", - "transactionIndex" - ], - "properties": { - "address": { - "$ref": "#/components/schemas/EthAddress" - }, - "blockHash": { - "$ref": "#/components/schemas/EthHash" - }, - "blockNumber": { - "$ref": "#/components/schemas/Uint64" - }, - "data": { - "$ref": "#/components/schemas/EthBytes" - }, - "logIndex": { - "$ref": "#/components/schemas/Uint64" - }, - "removed": { - "type": "boolean" - }, - "topics": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EthHash" - } - }, - "transactionHash": { - "$ref": "#/components/schemas/EthHash" - }, - "transactionIndex": { - "$ref": "#/components/schemas/Uint64" - } - } - }, - "EthSyncingResultLotusJson": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "object", - "required": [ - "currentblock", - "highestblock", - "startingblock" - ], - "properties": { - "currentblock": { - "type": "integer", - "format": "int64" - }, - "highestblock": { - "type": "integer", - "format": "int64" - }, - "startingblock": { - "type": "integer", - "format": "int64" - } - } - } - ] - }, - "EthTopicSpec": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EthHashList" - } - }, - "EthTxReceipt": { - "type": "object", - "required": [ - "blockHash", - "blockNumber", - "cumulativeGasUsed", - "effectiveGasPrice", - "from", - "gasUsed", - "logs", - "logsBloom", - "root", - "status", - "transactionHash", - "transactionIndex", - "type" - ], - "properties": { - "blockHash": { - "$ref": "#/components/schemas/EthHash" - }, - "blockNumber": { - "$ref": "#/components/schemas/Uint64" - }, - "contractAddress": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthAddress" - }, - { - "type": "null" - } - ] - }, - "cumulativeGasUsed": { - "$ref": "#/components/schemas/Uint64" - }, - "effectiveGasPrice": { - "$ref": "#/components/schemas/EthBigInt" - }, - "from": { - "$ref": "#/components/schemas/EthAddress" - }, - "gasUsed": { - "$ref": "#/components/schemas/Uint64" - }, - "logs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EthLog" - } - }, - "logsBloom": { - "$ref": "#/components/schemas/EthBytes" - }, - "root": { - "$ref": "#/components/schemas/EthHash" - }, - "status": { - "$ref": "#/components/schemas/Uint64" - }, - "to": { - "anyOf": [ - { - "$ref": "#/components/schemas/EthAddress" - }, - { - "type": "null" - } - ] - }, - "transactionHash": { - "$ref": "#/components/schemas/EthHash" - }, - "transactionIndex": { - "$ref": "#/components/schemas/Uint64" - }, - "type": { - "$ref": "#/components/schemas/Uint64" - } - } - }, - "Event": { - "type": "object", - "required": [ - "Emitter", - "Entries" - ], - "properties": { - "Emitter": { - "description": "Actor ID", - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Entries": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EventEntry" - } - } - } - }, - "EventEntry": { - "type": "object", - "required": [ - "Codec", - "Flags", - "Key", - "Value" - ], - "properties": { - "Codec": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Flags": { - "type": "integer", - "format": "uint8", - "minimum": 0 - }, - "Key": { - "type": "string" - }, - "Value": { - "$ref": "#/components/schemas/Base64String" - } - } - }, - "ExecutionTrace": { - "type": "object", - "required": [ - "GasCharges", - "Msg", - "MsgRct", - "Subcalls" - ], - "properties": { - "GasCharges": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GasTrace" - } - }, - "InvokedActor": { - "anyOf": [ - { - "$ref": "#/components/schemas/ActorTrace" - }, - { - "type": "null" - } - ] - }, - "Msg": { - "$ref": "#/components/schemas/MessageTrace" - }, - "MsgRct": { - "$ref": "#/components/schemas/ReturnTrace" - }, - "Subcalls": { - "$ref": "#/components/schemas/Nullable_Array_of_ExecutionTrace" - } - } - }, - "ExitCode": { - "description": "`Newtype` wrapper for the FVM `ExitCode`.\n\n# Examples ``` # use forest_filecoin::doctest_private::ExitCode; let fvm2_success = fvm_shared2::error::ExitCode::new(0); let fvm3_success = fvm_shared3::error::ExitCode::new(0);\n\nlet shim_from_v2 = ExitCode::from(fvm2_success); let shim_from_v3 = ExitCode::from(fvm3_success);\n\nassert_eq!(shim_from_v2, shim_from_v3); assert_eq!(shim_from_v2, fvm2_success.into()); assert_eq!(shim_from_v3, fvm3_success.into()); ```", - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "ExtendedSectorInfo": { - "type": "object", - "required": [ - "SealProof", - "SealedCID", - "SectorKey", - "SectorNumber" - ], - "properties": { - "SealProof": { - "$ref": "#/components/schemas/int64" - }, - "SealedCID": { - "$ref": "#/components/schemas/Cid" - }, - "SectorKey": { - "$ref": "#/components/schemas/Nullable_Cid" - }, - "SectorNumber": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "F3PowerEntry": { - "description": "PowerEntry represents a single entry in the PowerTable, including ActorID and its StoragePower and PubKey.", - "type": "object", - "required": [ - "ID", - "Power", - "PubKey" - ], - "properties": { - "ID": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Power": { - "type": "string" - }, - "PubKey": { - "type": "string" - } - } - }, - "F3TipSet": { - "type": "object", - "required": [ - "beacon", - "epoch", - "key", - "timestamp" - ], - "properties": { - "beacon": { - "description": "The verifiable oracle randomness used to elect this block's author leader", - "type": "string" - }, - "epoch": { - "description": "The period in which a new block is generated. There may be multiple rounds in an epoch.", - "type": "integer", - "format": "int64" - }, - "key": { - "$ref": "#/components/schemas/F3TipSetKey" - }, - "timestamp": { - "description": "Block creation time, in seconds since the Unix epoch", - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "F3TipSetKey": { - "description": "TipSetKey is the canonically ordered concatenation of the block CIDs in a tipset.", - "type": "string" - }, - "FilterID": { - "$ref": "#/components/schemas/EthHash" - }, - "ForkUpgradeParams": { - "type": "object", - "required": [ - "BreezeGasTampingDuration", - "UpgradeAssemblyHeight", - "UpgradeBreezeHeight", - "UpgradeCalicoHeight", - "UpgradeChocolateHeight", - "UpgradeClausHeight", - "UpgradeDragonHeight", - "UpgradeHyggeHeight", - "UpgradeHyperdriveHeight", - "UpgradeIgnitionHeight", - "UpgradeKumquatHeight", - "UpgradeLiftoffHeight", - "UpgradeLightningHeight", - "UpgradeNorwegianHeight", - "UpgradeOhSnapHeight", - "UpgradeOrangeHeight", - "UpgradePersianHeight", - "UpgradePhoenixHeight", - "UpgradeRefuelHeight", - "UpgradeSharkHeight", - "UpgradeSkyrHeight", - "UpgradeSmokeHeight", - "UpgradeTapeHeight", - "UpgradeThunderHeight", - "UpgradeTrustHeight", - "UpgradeTurboHeight", - "UpgradeWaffleHeight", - "UpgradeWatermelonHeight" - ], - "properties": { - "BreezeGasTampingDuration": { - "type": "integer", - "format": "int64" - }, - "UpgradeAssemblyHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeBreezeHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeCalicoHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeChocolateHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeClausHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeDragonHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeHyggeHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeHyperdriveHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeIgnitionHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeKumquatHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeLiftoffHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeLightningHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeNorwegianHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeOhSnapHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeOrangeHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradePersianHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradePhoenixHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeRefuelHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeSharkHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeSkyrHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeSmokeHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeTapeHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeThunderHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeTrustHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeTurboHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeWaffleHeight": { - "type": "integer", - "format": "int64" - }, - "UpgradeWatermelonHeight": { - "type": "integer", - "format": "int64" - } - } - }, - "GasTrace": { - "type": "object", - "required": [ - "Name", - "cg", - "sg", - "tg", - "tt" - ], - "properties": { - "Name": { - "type": "string" - }, - "cg": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "sg": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "tg": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "tt": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "GossipBlock": { - "type": "object", - "required": [ - "BlsMessages", - "Header", - "SecpkMessages" - ], - "properties": { - "BlsMessages": { - "$ref": "#/components/schemas/Cid" - }, - "Header": { - "$ref": "#/components/schemas/BlockHeader" - }, - "SecpkMessages": { - "$ref": "#/components/schemas/Cid" - } - } - }, - "Int64": { - "type": "string" - }, - "KeyInfo": { - "type": "object", - "required": [ - "PrivateKey", - "Type" - ], - "properties": { - "PrivateKey": { - "$ref": "#/components/schemas/Base64String" - }, - "Type": { - "$ref": "#/components/schemas/SignatureTypeLotusJson" - } - } - }, - "MarketBalance": { - "description": "External format for returning market balance from state.", - "type": "object", - "required": [ - "Escrow", - "Locked" - ], - "properties": { - "Escrow": { - "$ref": "#/components/schemas/BigInt" - }, - "Locked": { - "$ref": "#/components/schemas/BigInt" - } - } - }, - "Message": { - "type": "object", - "required": [ - "From", - "To" - ], - "properties": { - "From": { - "$ref": "#/components/schemas/Address" - }, - "GasFeeCap": { - "default": "0", - "$ref": "#/components/schemas/BigInt" - }, - "GasLimit": { - "default": 0, - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "GasPremium": { - "default": "0", - "$ref": "#/components/schemas/BigInt" - }, - "Method": { - "default": 0, - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Nonce": { - "default": 0, - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Params": { - "$ref": "#/components/schemas/Nullable_Base64String" - }, - "To": { - "$ref": "#/components/schemas/Address" - }, - "Value": { - "default": "0", - "$ref": "#/components/schemas/BigInt" - }, - "Version": { - "default": 0, - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "MessageFilter": { - "type": "object", - "required": [ - "From", - "To" - ], - "properties": { - "From": { - "$ref": "#/components/schemas/Nullable_Address" - }, - "To": { - "$ref": "#/components/schemas/Nullable_Address" - } - } - }, - "MessageGasCost": { - "type": "object", - "required": [ - "BaseFeeBurn", - "GasUsed", - "Message", - "MinerPenalty", - "MinerTip", - "OverEstimationBurn", - "Refund", - "TotalCost" - ], - "properties": { - "BaseFeeBurn": { - "$ref": "#/components/schemas/BigInt" - }, - "GasUsed": { - "$ref": "#/components/schemas/BigInt" - }, - "Message": { - "$ref": "#/components/schemas/Nullable_Cid" - }, - "MinerPenalty": { - "$ref": "#/components/schemas/BigInt" - }, - "MinerTip": { - "$ref": "#/components/schemas/BigInt" - }, - "OverEstimationBurn": { - "$ref": "#/components/schemas/BigInt" - }, - "Refund": { - "$ref": "#/components/schemas/BigInt" - }, - "TotalCost": { - "$ref": "#/components/schemas/BigInt" - } - } - }, - "MessageLookup": { - "type": "object", - "required": [ - "Height", - "Message", - "Receipt", - "ReturnDec", - "TipSet" - ], - "properties": { - "Height": { - "type": "integer", - "format": "int64" - }, - "Message": { - "$ref": "#/components/schemas/Cid" - }, - "Receipt": { - "$ref": "#/components/schemas/Receipt" - }, - "ReturnDec": true, - "TipSet": { - "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" - } - } - }, - "MessageSendSpec": { - "type": "object", - "required": [ - "MaxFee" - ], - "properties": { - "MaxFee": { - "$ref": "#/components/schemas/BigInt" - } - } - }, - "MessageTrace": { - "type": "object", - "required": [ - "From", - "Method", - "Params", - "ParamsCodec", - "To", - "Value" - ], - "properties": { - "From": { - "$ref": "#/components/schemas/Address" - }, - "GasLimit": { - "type": [ - "integer", - "null" - ], - "format": "uint64", - "minimum": 0 - }, - "Method": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Params": { - "$ref": "#/components/schemas/Base64String" - }, - "ParamsCodec": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "ReadOnly": { - "type": [ - "boolean", - "null" - ] - }, - "To": { - "$ref": "#/components/schemas/Address" - }, - "Value": { - "$ref": "#/components/schemas/BigInt" - } - } - }, - "MinerInfo": { - "type": "object", - "required": [ - "Beneficiary", - "BeneficiaryTerm", - "ConsensusFaultElapsed", - "ControlAddresses", - "Multiaddrs", - "NewWorker", - "Owner", - "PeerId", - "PendingBeneficiaryTerm", - "PendingOwnerAddress", - "SectorSize", - "WindowPoStPartitionSectors", - "WindowPoStProofType", - "Worker", - "WorkerChangeEpoch" - ], - "properties": { - "Beneficiary": { - "$ref": "#/components/schemas/Address" - }, - "BeneficiaryTerm": { - "$ref": "#/components/schemas/BeneficiaryTerm" - }, - "ConsensusFaultElapsed": { - "type": "integer", - "format": "int64" - }, - "ControlAddresses": { - "$ref": "#/components/schemas/Nullable_Array_of_Address" - }, - "Multiaddrs": { - "$ref": "#/components/schemas/Nullable_Array_of_Base64String" - }, - "NewWorker": { - "$ref": "#/components/schemas/Nullable_Address" - }, - "Owner": { - "$ref": "#/components/schemas/Address" - }, - "PeerId": { - "$ref": "#/components/schemas/Nullable_String" - }, - "PendingBeneficiaryTerm": { - "$ref": "#/components/schemas/Nullable_PendingBeneficiaryChange" - }, - "PendingOwnerAddress": { - "$ref": "#/components/schemas/Nullable_Address" - }, - "SectorSize": { - "$ref": "#/components/schemas/SectorSize" - }, - "WindowPoStPartitionSectors": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "WindowPoStProofType": { - "type": "string" - }, - "Worker": { - "$ref": "#/components/schemas/Address" - }, - "WorkerChangeEpoch": { - "type": "integer", - "format": "int64" - } - } - }, - "MinerPartitions": { - "type": "object", - "required": [ - "ActiveSectors", - "AllSectors", - "FaultySectors", - "LiveSectors", - "RecoveringSectors" - ], - "properties": { - "ActiveSectors": { - "$ref": "#/components/schemas/BitField" - }, - "AllSectors": { - "$ref": "#/components/schemas/BitField" - }, - "FaultySectors": { - "$ref": "#/components/schemas/BitField" - }, - "LiveSectors": { - "$ref": "#/components/schemas/BitField" - }, - "RecoveringSectors": { - "$ref": "#/components/schemas/BitField" - } - } - }, - "MinerPower": { - "type": "object", - "required": [ - "HasMinPower", - "MinerPower", - "TotalPower" - ], - "properties": { - "HasMinPower": { - "type": "boolean" - }, - "MinerPower": { - "$ref": "#/components/schemas/Claim" - }, - "TotalPower": { - "$ref": "#/components/schemas/Claim" - } - } - }, - "MinerSectors": { - "type": "object", - "required": [ - "Active", - "Faulty", - "Live" - ], - "properties": { - "Active": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Faulty": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Live": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "MiningBaseInfo": { - "type": "object", - "required": [ - "BeaconEntries", - "EligibleForMining", - "MinerPower", - "NetworkPower", - "PrevBeaconEntry", - "SectorSize", - "Sectors", - "WorkerKey" - ], - "properties": { - "BeaconEntries": { - "$ref": "#/components/schemas/Nullable_Array_of_BeaconEntry" - }, - "EligibleForMining": { - "type": "boolean" - }, - "MinerPower": { - "$ref": "#/components/schemas/BigInt" - }, - "NetworkPower": { - "$ref": "#/components/schemas/BigInt" - }, - "PrevBeaconEntry": { - "$ref": "#/components/schemas/BeaconEntry" - }, - "SectorSize": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Sectors": { - "$ref": "#/components/schemas/Nullable_Array_of_ExtendedSectorInfo" - }, - "WorkerKey": { - "$ref": "#/components/schemas/Address" - } - } - }, - "MsigVesting": { - "type": "object", - "required": [ - "InitialBalance", - "StartEpoch", - "UnlockDuration" - ], - "properties": { - "InitialBalance": { - "$ref": "#/components/schemas/BigInt" - }, - "StartEpoch": { - "type": "integer", - "format": "int64" - }, - "UnlockDuration": { - "type": "integer", - "format": "int64" - } - } - }, - "NatStatusResult": { - "type": "object", - "required": [ - "Reachability" - ], - "properties": { - "PublicAddrs": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "Reachability": { - "type": "integer", - "format": "int32" - } - } - }, - "NetInfoResult": { - "type": "object", - "required": [ - "num_connections", - "num_established", - "num_peers", - "num_pending", - "num_pending_incoming", - "num_pending_outgoing" - ], - "properties": { - "num_connections": { - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "num_established": { - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "num_peers": { - "type": "integer", - "format": "uint", - "minimum": 0 - }, - "num_pending": { - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "num_pending_incoming": { - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "num_pending_outgoing": { - "type": "integer", - "format": "uint32", - "minimum": 0 - } - } - }, - "NetworkParams": { - "type": "object", - "required": [ - "BlockDelaySecs", - "ConsensusMinerMinPower", - "Eip155ChainID", - "ForkUpgradeParams", - "NetworkName", - "PreCommitChallengeDelay", - "SupportedProofTypes" - ], - "properties": { - "BlockDelaySecs": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "ConsensusMinerMinPower": { - "$ref": "#/components/schemas/BigInt" - }, - "Eip155ChainID": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "ForkUpgradeParams": { - "$ref": "#/components/schemas/ForkUpgradeParams" - }, - "NetworkName": { - "type": "string" - }, - "PreCommitChallengeDelay": { - "type": "integer", - "format": "int64" - }, - "SupportedProofTypes": { - "$ref": "#/components/schemas/int64" - } - } - }, - "NodeChainStatus": { - "type": "object", - "required": [ - "blocks_per_tipset_last_100", - "blocks_per_tipset_last_finality" - ], - "properties": { - "blocks_per_tipset_last_100": { - "type": "number", - "format": "double" - }, - "blocks_per_tipset_last_finality": { - "type": "number", - "format": "double" - } - } - }, - "NodePeerStatus": { - "type": "object", - "required": [ - "peers_to_publish_blocks", - "peers_to_publish_msgs" - ], - "properties": { - "peers_to_publish_blocks": { - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "peers_to_publish_msgs": { - "type": "integer", - "format": "uint32", - "minimum": 0 - } - } - }, - "NodeStatusResult": { - "type": "object", - "required": [ - "chain_status", - "peer_status", - "sync_status" - ], - "properties": { - "chain_status": { - "$ref": "#/components/schemas/NodeChainStatus" - }, - "peer_status": { - "$ref": "#/components/schemas/NodePeerStatus" - }, - "sync_status": { - "$ref": "#/components/schemas/NodeSyncStatus" - } - } - }, - "NodeSyncStatus": { - "type": "object", - "required": [ - "behind", - "epoch" - ], - "properties": { - "behind": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "epoch": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "NonEmpty_Array_of_BlockHeader": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BlockHeader" - }, - "minItems": 1 - }, - "NonEmpty_Array_of_Cid": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Cid" - }, - "minItems": 1 - }, - "Nonce": { - "type": "string" - }, - "Nullable_Address": { - "anyOf": [ - { - "$ref": "#/components/schemas/Address" - }, - { - "type": "null" - } - ] - }, - "Nullable_Array_of_Address": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Address" - } - }, - "Nullable_Array_of_Base64String": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Base64String" - } - }, - "Nullable_Array_of_BeaconEntry": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/BeaconEntry" - } - }, - "Nullable_Array_of_Cid": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Cid" - } - }, - "Nullable_Array_of_ExecutionTrace": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/ExecutionTrace" - } - }, - "Nullable_Array_of_ExtendedSectorInfo": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/ExtendedSectorInfo" - } - }, - "Nullable_Array_of_Message": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/Message" - } - }, - "Nullable_Array_of_PoStProof": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/PoStProof" - } - }, - "Nullable_Array_of_SignedMessage": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/SignedMessage" - } - }, - "Nullable_Array_of_SyncState": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/SyncState" - } - }, - "Nullable_Array_of_uint64": { - "type": [ - "array", - "null" - ], - "items": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - "Nullable_Base64String": { - "anyOf": [ - { - "$ref": "#/components/schemas/Base64String" - }, - { - "type": "null" - } - ] - }, - "Nullable_Cid": { - "anyOf": [ - { - "$ref": "#/components/schemas/Cid" - }, - { - "type": "null" - } - ] - }, - "Nullable_DateTime": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "Nullable_ElectionProof": { - "anyOf": [ - { - "$ref": "#/components/schemas/ElectionProof" - }, - { - "type": "null" - } - ] - }, - "Nullable_PendingBeneficiaryChange": { - "anyOf": [ - { - "$ref": "#/components/schemas/PendingBeneficiaryChange" - }, - { - "type": "null" - } - ] - }, - "Nullable_Receipt": { - "anyOf": [ - { - "$ref": "#/components/schemas/Receipt" - }, - { - "type": "null" - } - ] - }, - "Nullable_Signature": { - "anyOf": [ - { - "$ref": "#/components/schemas/Signature" - }, - { - "type": "null" - } - ] - }, - "Nullable_String": { - "type": [ - "string", - "null" - ] - }, - "Nullable_Ticket": { - "anyOf": [ - { - "$ref": "#/components/schemas/Ticket" - }, - { - "type": "null" - } - ] - }, - "Nullable_Tipset": { - "anyOf": [ - { - "$ref": "#/components/schemas/Tipset" - }, - { - "type": "null" - } - ] - }, - "ObjStat": { - "type": "object", - "required": [ - "Links", - "Size" - ], - "properties": { - "Links": { - "type": "integer", - "format": "uint", - "minimum": 0 - }, - "Size": { - "type": "integer", - "format": "uint", - "minimum": 0 - } - } - }, - "PathChange_for_Tipset": { - "oneOf": [ - { - "type": "object", - "required": [ - "Type", - "Val" - ], - "properties": { - "Type": { - "type": "string", - "enum": [ - "revert" - ] - }, - "Val": { - "$ref": "#/components/schemas/Tipset" - } - } - }, - { - "type": "object", - "required": [ - "Type", - "Val" - ], - "properties": { - "Type": { - "type": "string", - "enum": [ - "apply" - ] - }, - "Val": { - "$ref": "#/components/schemas/Tipset" - } - } - } - ] - }, - "PendingBeneficiaryChange": { - "type": "object", - "required": [ - "ApprovedByBeneficiary", - "ApprovedByNominee", - "NewBeneficiary", - "NewExpiration", - "NewQuota" - ], - "properties": { - "ApprovedByBeneficiary": { - "type": "boolean" - }, - "ApprovedByNominee": { - "type": "boolean" - }, - "NewBeneficiary": { - "$ref": "#/components/schemas/Address" - }, - "NewExpiration": { - "type": "integer", - "format": "int64" - }, - "NewQuota": { - "$ref": "#/components/schemas/BigInt" - } - } - }, - "PoStProof": { - "type": "object", - "required": [ - "PoStProof", - "ProofBytes" - ], - "properties": { - "PoStProof": { - "$ref": "#/components/schemas/int64" - }, - "ProofBytes": { - "$ref": "#/components/schemas/Base64String" - } - } - }, - "PublicVersion": { - "description": "Represents the current version of the API.", - "type": "object", - "required": [ - "APIVersion", - "BlockDelay", - "Version" - ], - "properties": { - "APIVersion": { - "$ref": "#/components/schemas/ShiftingVersion" - }, - "BlockDelay": { - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "Version": { - "type": "string" - } - } - }, - "RPCSyncState": { - "type": "object", - "required": [ - "ActiveSyncs" - ], - "properties": { - "ActiveSyncs": { - "$ref": "#/components/schemas/Nullable_Array_of_SyncState" - } - } - }, - "Receipt": { - "type": "object", - "required": [ - "ExitCode", - "GasUsed", - "Return" - ], - "properties": { - "EventsRoot": { - "default": null, - "$ref": "#/components/schemas/Nullable_Cid" - }, - "ExitCode": { - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "GasUsed": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Return": { - "$ref": "#/components/schemas/Base64String" - } - } - }, - "ReturnTrace": { - "type": "object", - "required": [ - "ExitCode", - "Return", - "ReturnCodec" - ], - "properties": { - "ExitCode": { - "$ref": "#/components/schemas/ExitCode" - }, - "Return": { - "$ref": "#/components/schemas/Base64String" - }, - "ReturnCodec": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "SectorExpiration": { - "type": "object", - "required": [ - "Early", - "OnTime" - ], - "properties": { - "Early": { - "type": "integer", - "format": "int64" - }, - "OnTime": { - "type": "integer", - "format": "int64" - } - } - }, - "SectorLocation": { - "type": "object", - "required": [ - "Deadline", - "Partition" - ], - "properties": { - "Deadline": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Partition": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - } - }, - "SectorOnChainInfo": { - "type": "object", - "required": [ - "Activation", - "DealIDs", - "DealWeight", - "ExpectedDayReward", - "ExpectedStoragePledge", - "Expiration", - "Flags", - "InitialPledge", - "PowerBaseEpoch", - "ReplacedDayReward", - "SealProof", - "SealedCID", - "SectorKeyCID", - "SectorNumber", - "VerifiedDealWeight" - ], - "properties": { - "Activation": { - "description": "Epoch during which the sector proof was accepted", - "type": "integer", - "format": "int64" - }, - "DealIDs": { - "$ref": "#/components/schemas/Nullable_Array_of_uint64" - }, - "DealWeight": { - "description": "Integral of active deals over sector lifetime", - "$ref": "#/components/schemas/BigInt" - }, - "ExpectedDayReward": { - "description": "Expected one day projection of reward for sector computed at activation time", - "$ref": "#/components/schemas/BigInt" - }, - "ExpectedStoragePledge": { - "description": "Expected twenty day projection of reward for sector computed at activation time", - "$ref": "#/components/schemas/BigInt" - }, - "Expiration": { - "description": "Epoch during which the sector expires", - "type": "integer", - "format": "int64" - }, - "Flags": { - "description": "Additional flags, see [`fil_actor_miner_state::v12::SectorOnChainInfoFlags`]", - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "InitialPledge": { - "description": "Pledge collected to commit this sector", - "$ref": "#/components/schemas/BigInt" - }, - "PowerBaseEpoch": { - "description": "Epoch at which this sector's power was most recently updated", - "type": "integer", - "format": "int64" - }, - "ReplacedDayReward": { - "$ref": "#/components/schemas/BigInt" - }, - "SealProof": { - "description": "The seal proof type implies the PoSt proofs", - "type": "integer", - "format": "int64" - }, - "SealedCID": { - "description": "`CommR`", - "$ref": "#/components/schemas/Cid" - }, - "SectorKeyCID": { - "$ref": "#/components/schemas/Nullable_Cid" - }, - "SectorNumber": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "VerifiedDealWeight": { - "description": "Integral of active verified deals over sector lifetime", - "$ref": "#/components/schemas/BigInt" - } - } - }, - "SectorPreCommitInfo": { - "type": "object", - "required": [ - "DealIDs", - "Expiration", - "SealProof", - "SealRandEpoch", - "SealedCID", - "SectorNumber", - "UnsealedCid" - ], - "properties": { - "DealIDs": { - "$ref": "#/components/schemas/Nullable_Array_of_uint64" - }, - "Expiration": { - "type": "integer", - "format": "int64" - }, - "SealProof": { - "$ref": "#/components/schemas/int64" - }, - "SealRandEpoch": { - "type": "integer", - "format": "int64" - }, - "SealedCID": { - "$ref": "#/components/schemas/Cid" - }, - "SectorNumber": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "UnsealedCid": { - "$ref": "#/components/schemas/Nullable_Cid" - } - } - }, - "SectorPreCommitOnChainInfo": { - "type": "object", - "required": [ - "Info", - "PreCommitDeposit", - "PreCommitEpoch" - ], - "properties": { - "Info": { - "$ref": "#/components/schemas/SectorPreCommitInfo" - }, - "PreCommitDeposit": { - "$ref": "#/components/schemas/BigInt" - }, - "PreCommitEpoch": { - "type": "integer", - "format": "int64" - } - } - }, - "SectorSize": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "ShiftingVersion": { - "description": "Integer based value on version information. Highest order bits for Major, Mid order for Minor and lowest for Patch.", - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "Signature": { - "type": "object", - "required": [ - "Data", - "Type" - ], - "properties": { - "Data": { - "$ref": "#/components/schemas/Base64String" - }, - "Type": { - "$ref": "#/components/schemas/SignatureTypeLotusJson" - } - } - }, - "SignatureType": { - "description": "Signature variants for Filecoin signatures.", - "type": "string", - "enum": [ - "Secp256k1", - "Bls", - "Delegated" - ] - }, - "SignatureTypeLotusJson": { - "anyOf": [ - { - "type": "integer", - "format": "uint8", - "minimum": 0 - }, - { - "$ref": "#/components/schemas/SignatureType" - } - ] - }, - "SignedMessage": { - "type": "object", - "required": [ - "Message", - "Signature" - ], - "properties": { - "CID": { - "$ref": "#/components/schemas/Nullable_Cid" - }, - "Message": { - "$ref": "#/components/schemas/Message" - }, - "Signature": { - "$ref": "#/components/schemas/Signature" - } - } - }, - "SyncStage": { - "type": "string" - }, - "SyncState": { - "type": "object", - "required": [ - "Epoch", - "Message", - "Stage" - ], - "properties": { - "Base": { - "$ref": "#/components/schemas/Nullable_Tipset" - }, - "End": { - "$ref": "#/components/schemas/Nullable_DateTime" - }, - "Epoch": { - "type": "integer", - "format": "int64" - }, - "Message": { - "type": "string" - }, - "Stage": { - "$ref": "#/components/schemas/SyncStage" - }, - "Start": { - "$ref": "#/components/schemas/Nullable_DateTime" - }, - "Target": { - "$ref": "#/components/schemas/Nullable_Tipset" - } - } - }, - "Ticket": { - "type": "object", - "required": [ - "VRFProof" - ], - "properties": { - "VRFProof": { - "$ref": "#/components/schemas/Base64String" - } - } - }, - "Tipset": { - "$ref": "#/components/schemas/TipsetInner" - }, - "TipsetInner": { - "type": "object", - "required": [ - "Blocks", - "Cids", - "Height" - ], - "properties": { - "Blocks": { - "$ref": "#/components/schemas/NonEmpty_Array_of_BlockHeader" - }, - "Cids": { - "$ref": "#/components/schemas/NonEmpty_Array_of_Cid" - }, - "Height": { - "type": "integer", - "format": "int64" - } - } - }, - "Transaction": { - "type": "object", - "required": [ - "Approved", - "ID", - "Method", - "Params", - "To", - "Value" - ], - "properties": { - "Approved": { - "$ref": "#/components/schemas/Nullable_Array_of_Address" - }, - "ID": { - "type": "integer", - "format": "int64" - }, - "Method": { - "type": "integer", - "format": "uint64", - "minimum": 0 - }, - "Params": { - "$ref": "#/components/schemas/Base64String" - }, - "To": { - "$ref": "#/components/schemas/Address" - }, - "Value": { - "$ref": "#/components/schemas/BigInt" - } - } - }, - "Transactions": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiEthTx" - } - } - ] - }, - "Uint64": { - "type": "string" - }, - "int64": { - "type": "integer", - "format": "int64" - } - } - } -} From 5724ba0520bcf24e7549f18ab7f2b01a2b298035 Mon Sep 17 00:00:00 2001 From: elmattic Date: Tue, 29 Oct 2024 15:55:55 +0100 Subject: [PATCH 4/8] Start to move api compare eth tests --- src/test-suite/src/tests.rs | 193 ++++++++++++++++++++++++++++++++++++ 1 file changed, 193 insertions(+) diff --git a/src/test-suite/src/tests.rs b/src/test-suite/src/tests.rs index d157482..259fddc 100644 --- a/src/test-suite/src/tests.rs +++ b/src/test-suite/src/tests.rs @@ -8,9 +8,15 @@ //! //! Tests are free to [`panic!`], [`assert!`], [`fail!`], or [propogate errors](crate::harness::Context). +use std::str::FromStr; + pub use crate::harness::prelude::*; pub use assert2::assert; +use bindings::v1::{ + BlockHash, BlockNumber, BlockNumberOrHash, EthAddress, EthBigInt, EthBytes, EthCallMessage, + EthHash, EthInt64, EthUint64, FilterId, +}; use num_bigint::BigUint; use num_traits::Num; @@ -38,6 +44,7 @@ pub fn all() -> Vec> { [Tag::SchemaCoverage], |client| { let number = client.Filecoin_EthBlockNumber()?; + // TODO(elmattic): use pattern instead assert!( is_hex_string(&number), "a block number should be an hexadecimal string" @@ -45,6 +52,192 @@ pub fn all() -> Vec> { Ok(()) }, ), + // v1::none( + // "EthBlockNumber with no authorization token", + // [Tag::SchemaCoverage], + // |client| { + // let block = client.Filecoin_EthGetBlockByNumber( + // &BlockNumberOrHash { + // subtype_0: None, + // subtype_1: None, + // subtype_2: None, + // subtype_3: Some(BlockNumber { + // block_number: EthInt64("0x1FFBDF".into()), + // }), + // subtype_4: None, + // }, + // true, + // )?; + // Ok(()) + // }, + // ), + v1::none( + "EthAccounts with no authorization token", + [Tag::SchemaCoverage], + |client| { + let _accounts = client.Filecoin_EthAccounts()?; + Ok(()) + }, + ), + v1::none( + "EthChainId with no authorization token", + [Tag::SchemaCoverage], + |client| { + let _id = client.Filecoin_EthChainId()?; + Ok(()) + }, + ), + v1::none( + "EthGasPrice with no authorization token", + [Tag::SchemaCoverage], + |client| { + let _price = client.Filecoin_EthGasPrice()?; + Ok(()) + }, + ), + v1::none( + "EthProtocolVersion with no authorization token", + [Tag::SchemaCoverage], + |client| { + let _version = client.Filecoin_EthProtocolVersion()?; + Ok(()) + }, + ), + v1::none( + "EthNewPendingTransactionFilter with no authorization token", + [Tag::SchemaCoverage], + |client| { + let _version = client.Filecoin_EthNewPendingTransactionFilter()?; + Ok(()) + }, + ), + v1::none( + "EthNewBlockFilter with no authorization token", + [Tag::SchemaCoverage], + |client| { + let _vfilter = client.Filecoin_EthNewBlockFilter()?; + Ok(()) + }, + ), + v1::none( + "EthAddressToFilecoinAddress with no authorization token", + [Tag::SchemaCoverage], + |client| { + let _address = client.Filecoin_EthAddressToFilecoinAddress(&EthAddress::from_str( + "0xff38c072f286e3b20b3954ca9f99c05fbecc64aa", + ) + .unwrap())?; + Ok(()) + }, + ), + v1::none( + "EthSyncing with no authorization token", + [Tag::SchemaCoverage], + |client| { + let _result = client.Filecoin_EthSyncing()?; + Ok(()) + }, + ), + // v1::none( + // "EthGetBalance with no authorization token and subtype_1", + // [Tag::SchemaCoverage], + // |client| { + // let _balance = client.Filecoin_EthGetBalance( + // &EthAddress::from_str("0xff38c072f286e3b20b3954ca9f99c05fbecc64aa").unwrap(), + // &BlockNumberOrHash { + // subtype_0: None, + // subtype_1: Some(EthInt64("0x1FFBDF".into())), + // subtype_2: None, + // subtype_3: None, + // subtype_4: None, + // }, + // )?; + // Ok(()) + // }, + // ), + // v1::none( + // "EthGetBalance with no authorization token and subtype_2", + // [Tag::SchemaCoverage], + // |client| { + // let _balance = client.Filecoin_EthGetBalance( + // &EthAddress::from_str("0xff38c072f286e3b20b3954ca9f99c05fbecc64aa").unwrap(), + // &BlockNumberOrHash { + // subtype_0: None, + // subtype_1: None, + // subtype_2: Some(EthHash("0xabe09cdb5df97dfe16510f1714282fb16d66147ba21378f8bb1e9a9a52d38c98".into())), + // subtype_3: None, + // subtype_4: None, + // }, + // )?; + // Ok(()) + // }, + // ), + v1::none( + "EthGetBalance with no authorization token and subtype_3", + [Tag::SchemaCoverage], + |client| { + let _balance = client.Filecoin_EthGetBalance( + &EthAddress::from_str("0xff38c072f286e3b20b3954ca9f99c05fbecc64aa").unwrap(), + &BlockNumberOrHash { + subtype_0: None, + subtype_1: None, + subtype_2: None, + subtype_3: Some(BlockNumber { + block_number: EthInt64("0x1FFBDF".into()), + }), + subtype_4: None, + }, + )?; + Ok(()) + }, + ), + v1::none( + "EthGetBalance with no authorization token and subtype_4", + [Tag::SchemaCoverage], + |client| { + let _balance = client.Filecoin_EthGetBalance( + &EthAddress::from_str("0xff38c072f286e3b20b3954ca9f99c05fbecc64aa").unwrap(), + &BlockNumberOrHash { + subtype_0: None, + subtype_1: None, + subtype_2: None, + subtype_3: None, + subtype_4: Some(BlockHash { + block_hash: EthHash("0xabe09cdb5df97dfe16510f1714282fb16d66147ba21378f8bb1e9a9a52d38c98".into()), + require_canonical: false, + }), + }, + )?; + Ok(()) + }, + ), + // v1::none( + // "EthCall with no authorization token", + // [Tag::SchemaCoverage], + // |client| { + // let balance = client.Filecoin_EthCall(&EthCallMessage { + // data: + // EthBytes { 0: "0xf8b2cb4f000000000000000000000000CbfF24DED1CE6B53712078759233Ac8f91ea71B6" + // .into() } , + // from: None, + // gas: EthUint64 { 0: "0x0".into() }, + // gas_price: EthBigInt { 0: "0x0".into() }, + // to: Some( + // EthAddress::from_str("0x0c1d86d34e469770339b53613f3a2343accd62cb").unwrap(), + // ), + // value: EthBigInt { 0: "0x0".into() }, + // }, & BlockNumberOrHash { + // subtype_0: Some("latest".into()), + // subtype_1: None, + // subtype_2: None, + // subtype_3: None, + // subtype_4: None, + // }, + // )?; + // dbg!(&balance); + // Ok(()) + // }, + // ), ] .into() } From 690d81c0718f1fe3918b2492b3672469e8624882 Mon Sep 17 00:00:00 2001 From: elmattic Date: Tue, 29 Oct 2024 16:22:58 +0100 Subject: [PATCH 5/8] Update v1 spec --- ...1.json => forest-9d76a71562f-path-v1.json} | 265 ++++++++++++++++-- 1 file changed, 245 insertions(+), 20 deletions(-) rename src/bindings/specs/{v1 forest-1dcbf7afd00-path-v1.json => forest-9d76a71562f-path-v1.json} (96%) diff --git a/src/bindings/specs/v1 forest-1dcbf7afd00-path-v1.json b/src/bindings/specs/forest-9d76a71562f-path-v1.json similarity index 96% rename from src/bindings/specs/v1 forest-1dcbf7afd00-path-v1.json rename to src/bindings/specs/forest-9d76a71562f-path-v1.json index 1c19617..84d251c 100644 --- a/src/bindings/specs/v1 forest-1dcbf7afd00-path-v1.json +++ b/src/bindings/specs/forest-9d76a71562f-path-v1.json @@ -2,7 +2,7 @@ "openrpc": "1.3.2", "info": { "title": "forest", - "version": "0.20.0" + "version": "0.21.1" }, "methods": [ { @@ -935,6 +935,26 @@ }, "paramStructure": "by-position" }, + { + "name": "Filecoin.EthGetLogs", + "params": [ + { + "name": "eth_filter", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthFilterSpec" + } + } + ], + "result": { + "name": "Filecoin.EthGetLogs.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/EthFilterResult" + } + }, + "paramStructure": "by-position" + }, { "name": "Filecoin.EthGetMessageCidByTransactionHash", "params": [ @@ -4733,7 +4753,13 @@ "name": "tipset_key", "required": true, "schema": { - "$ref": "#/components/schemas/F3TipSetKey" + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } } } ], @@ -4759,7 +4785,13 @@ "name": "tipset_key", "required": true, "schema": { - "$ref": "#/components/schemas/F3TipSetKey" + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/Cid" + } } } ], @@ -4786,10 +4818,40 @@ "result": { "name": "Filecoin.F3GetProgress.Result", "required": true, + "schema": { + "$ref": "#/components/schemas/F3Instant" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.F3GetManifest", + "params": [], + "result": { + "name": "Filecoin.F3GetManifest.Result", + "required": true, "schema": true }, "paramStructure": "by-position" }, + { + "name": "Filecoin.F3ListParticipants", + "params": [], + "result": { + "name": "Filecoin.F3ListParticipants.Result", + "required": false, + "schema": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/F3Participant" + } + } + }, + "paramStructure": "by-position" + }, { "name": "Filecoin.F3GetLatestCertificate", "params": [], @@ -4801,7 +4863,7 @@ "paramStructure": "by-position" }, { - "name": "Filecoin.F3Participate", + "name": "Filecoin.F3GetOrRenewParticipationTicket", "params": [ { "name": "miner_address", @@ -4811,19 +4873,39 @@ } }, { - "name": "new_lease_expiration", + "name": "previous_lease_ticket", "required": true, "schema": { - "type": "string", - "format": "date-time" + "$ref": "#/components/schemas/Base64String" } }, { - "name": "old_lease_expiration", + "name": "instances", + "required": true, + "schema": { + "type": "integer", + "format": "uint64", + "minimum": 0.0 + } + } + ], + "result": { + "name": "Filecoin.F3GetOrRenewParticipationTicket.Result", + "required": true, + "schema": { + "$ref": "#/components/schemas/Base64String" + } + }, + "paramStructure": "by-position" + }, + { + "name": "Filecoin.F3Participate", + "params": [ + { + "name": "lease_ticket", "required": true, "schema": { - "type": "string", - "format": "date-time" + "$ref": "#/components/schemas/Base64String" } } ], @@ -4831,7 +4913,7 @@ "name": "Filecoin.F3Participate.Result", "required": true, "schema": { - "type": "boolean" + "$ref": "#/components/schemas/ApiF3ParticipationLease" } }, "paramStructure": "by-position" @@ -5493,6 +5575,45 @@ } } }, + "ApiF3ParticipationLease": { + "description": "defines the lease granted to a storage provider for participating in F3 consensus, detailing the session identifier, issuer, subject, and the expiration instance.", + "type": "object", + "required": [ + "FromInstance", + "Issuer", + "MinerID", + "Network", + "ValidityTerm" + ], + "properties": { + "FromInstance": { + "description": "specifies the instance ID from which this lease is valid.", + "type": "integer", + "format": "uint64", + "minimum": 0.0 + }, + "Issuer": { + "description": "the identity of the node that issued the lease.", + "type": "string" + }, + "MinerID": { + "description": "the actor ID of the miner that holds the lease.", + "type": "integer", + "format": "uint64", + "minimum": 0.0 + }, + "Network": { + "description": "the name of the network this lease belongs to.", + "type": "string" + }, + "ValidityTerm": { + "description": "specifies the number of instances for which the lease remains valid from the FromInstance.", + "type": "integer", + "format": "uint64", + "minimum": 0.0 + } + } + }, "ApiInvocResult": { "type": "object", "required": [ @@ -6230,12 +6351,34 @@ } } }, + "EthFilterResult": { + "description": "`EthFilterResult` represents the response from executing a filter: - A list of block hashes - A list of transaction hashes - Or a list of logs", + "anyOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthHash" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthHash" + } + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthLog" + } + } + ] + }, "EthFilterSpec": { "description": "Represents a filter specification for querying Ethereum event logs. This struct can be used to specify criteria for filtering Ethereum event logs based on block range, address, topics, and block hash. It is useful for making requests to Ethereum nodes to fetch logs that match certain conditions.\n\n# Fields\n\n* `from_block` - Optional field interpreted as an epoch (in hex): - `\"latest\"`: latest mined block. - `\"earliest\"`: first block. - `\"pending\"`: blocks that have not yet been mined. If omitted, the default value is `\"latest\"`. This field is skipped during serialization if `None`.\n\n* `to_block` - Optional field interpreted as an epoch (in hex): - `\"latest\"`: latest mined block. - `\"earliest\"`: first block. - `\"pending\"`: blocks that have not yet been mined. If omitted, the default value is `\"latest\"`. This field is skipped during serialization if `None`.\n\n* `address` - Actor address or a list of addresses (`Vec`) from which event logs should originate. If the filter needs to match a single address, it can be specified as single element vector. This field is required and cannot be omitted.\n\n* `topics` - List of topics (`EthTopicSpec`) to be matched in the event logs.\n\n* `block_hash` - Optional field specifying a block hash (`Hash`) Restricts event logs returned to those emitted from messages contained in this tipset. When `block_hash` is provided, neither `from_block` nor `to_block` can be specified. This field is skipped during serialization if `None`. [the spec](https://github.com/filecoin-project/lotus/blob/475139ff95407ed9d55d3a2ef87e28da66512937/chain/types/ethtypes/eth_types.go#L602-L627).", "type": "object", "required": [ - "address", - "topics" + "address" ], "properties": { "address": { @@ -6267,7 +6410,14 @@ ] }, "topics": { - "$ref": "#/components/schemas/EthTopicSpec" + "anyOf": [ + { + "$ref": "#/components/schemas/EthTopicSpec" + }, + { + "type": "null" + } + ] } } }, @@ -6275,10 +6425,25 @@ "type": "string" }, "EthHashList": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EthHash" - } + "description": "`EthHashList` represents a topic filter that can take one of two forms: - `List`: Matches if the hash is present in the vector. - `Single`: An optional hash, where: - `Some(hash)`: Matches exactly this hash. - `None`: Acts as a wildcard.", + "anyOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/EthHash" + } + }, + { + "anyOf": [ + { + "$ref": "#/components/schemas/EthHash" + }, + { + "type": "null" + } + ] + } + ] }, "EthInt64": { "type": "string" @@ -6299,33 +6464,42 @@ ], "properties": { "address": { + "description": "The address of the actor that produced the event log.", "$ref": "#/components/schemas/EthAddress" }, "blockHash": { + "description": "The hash of the tipset containing the message that produced the log.", "$ref": "#/components/schemas/EthHash" }, "blockNumber": { + "description": "The epoch of the tipset containing the message.", "$ref": "#/components/schemas/EthUint64" }, "data": { + "description": "The value of the event log, excluding topics.", "$ref": "#/components/schemas/EthBytes" }, "logIndex": { + "description": "The index of the event log in the sequence of events produced by the message execution. (this is the index in the events AMT on the message receipt)", "$ref": "#/components/schemas/EthUint64" }, "removed": { + "description": "Indicates whether the log was removed due to a chain reorganization.", "type": "boolean" }, "topics": { + "description": "List of topics associated with the event log.", "type": "array", "items": { "$ref": "#/components/schemas/EthHash" } }, "transactionHash": { + "description": "The hash of the RLP message that produced the event log.", "$ref": "#/components/schemas/EthHash" }, "transactionIndex": { + "description": "The index in the tipset of the transaction that produced the event log. The index corresponds to the sequence of messages produced by `ChainGetParentMessages`", "$ref": "#/components/schemas/EthUint64" } } @@ -6487,7 +6661,7 @@ }, "Flags": { "type": "integer", - "format": "uint8", + "format": "uint64", "minimum": 0.0 }, "Key": { @@ -6565,6 +6739,57 @@ } } }, + "F3Instant": { + "description": "represents a particular moment in the progress of GPBFT, captured by instance ID, round and phase.", + "type": "object", + "required": [ + "ID", + "Phase", + "Round" + ], + "properties": { + "ID": { + "type": "integer", + "format": "uint64", + "minimum": 0.0 + }, + "Phase": { + "type": "integer", + "format": "uint8", + "minimum": 0.0 + }, + "Round": { + "type": "integer", + "format": "uint64", + "minimum": 0.0 + } + } + }, + "F3Participant": { + "type": "object", + "required": [ + "FromInstance", + "MinerID", + "ValidityTerm" + ], + "properties": { + "FromInstance": { + "type": "integer", + "format": "uint64", + "minimum": 0.0 + }, + "MinerID": { + "type": "integer", + "format": "uint64", + "minimum": 0.0 + }, + "ValidityTerm": { + "type": "integer", + "format": "uint64", + "minimum": 0.0 + } + } + }, "F3PowerEntry": { "description": "PowerEntry represents a single entry in the PowerTable, including ActorID and its StoragePower and PubKey.", "type": "object", @@ -8206,4 +8431,4 @@ } } } -} +} \ No newline at end of file From 736e230a34a29a892258c8ce61923377bbb20878 Mon Sep 17 00:00:00 2001 From: elmattic Date: Tue, 29 Oct 2024 16:24:54 +0100 Subject: [PATCH 6/8] Fix naming --- ...d76a71562f-path-v1.json => v1 forest_9d76a71562f_path_v1.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/bindings/specs/{forest-9d76a71562f-path-v1.json => v1 forest_9d76a71562f_path_v1.json} (100%) diff --git a/src/bindings/specs/forest-9d76a71562f-path-v1.json b/src/bindings/specs/v1 forest_9d76a71562f_path_v1.json similarity index 100% rename from src/bindings/specs/forest-9d76a71562f-path-v1.json rename to src/bindings/specs/v1 forest_9d76a71562f_path_v1.json From cc83910b9208dbbf0aed8664c28fe4f1e3e4af56 Mon Sep 17 00:00:00 2001 From: elmattic Date: Wed, 4 Dec 2024 16:19:58 +0100 Subject: [PATCH 7/8] Update params --- src/test-suite/src/tests.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test-suite/src/tests.rs b/src/test-suite/src/tests.rs index 259fddc..0c19112 100644 --- a/src/test-suite/src/tests.rs +++ b/src/test-suite/src/tests.rs @@ -177,13 +177,13 @@ pub fn all() -> Vec> { [Tag::SchemaCoverage], |client| { let _balance = client.Filecoin_EthGetBalance( - &EthAddress::from_str("0xff38c072f286e3b20b3954ca9f99c05fbecc64aa").unwrap(), + &EthAddress::from_str("0x6cb414224f0b91de5c3b616e700e34a5172c149f").unwrap(), &BlockNumberOrHash { subtype_0: None, subtype_1: None, subtype_2: None, subtype_3: Some(BlockNumber { - block_number: EthInt64("0x1FFBDF".into()), + block_number: EthInt64("0x219153".into()), }), subtype_4: None, }, @@ -196,14 +196,14 @@ pub fn all() -> Vec> { [Tag::SchemaCoverage], |client| { let _balance = client.Filecoin_EthGetBalance( - &EthAddress::from_str("0xff38c072f286e3b20b3954ca9f99c05fbecc64aa").unwrap(), + &EthAddress::from_str("0x6cb414224f0b91de5c3b616e700e34a5172c149f").unwrap(), &BlockNumberOrHash { subtype_0: None, subtype_1: None, subtype_2: None, subtype_3: None, subtype_4: Some(BlockHash { - block_hash: EthHash("0xabe09cdb5df97dfe16510f1714282fb16d66147ba21378f8bb1e9a9a52d38c98".into()), + block_hash: EthHash("0x711da3a3ebc8fdfea3427d0d7b14e55b94f354baf33a93adca658b28e333f133".into()), require_canonical: false, }), }, From 5b7462e3e198c5e9c442c24d274124ddc555431e Mon Sep 17 00:00:00 2001 From: elmattic Date: Wed, 4 Dec 2024 16:40:35 +0100 Subject: [PATCH 8/8] Update params in commented-out tests --- src/test-suite/src/tests.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test-suite/src/tests.rs b/src/test-suite/src/tests.rs index 0c19112..c902f19 100644 --- a/src/test-suite/src/tests.rs +++ b/src/test-suite/src/tests.rs @@ -143,10 +143,10 @@ pub fn all() -> Vec> { // [Tag::SchemaCoverage], // |client| { // let _balance = client.Filecoin_EthGetBalance( - // &EthAddress::from_str("0xff38c072f286e3b20b3954ca9f99c05fbecc64aa").unwrap(), + // &EthAddress::from_str("0x6cb414224f0b91de5c3b616e700e34a5172c149f").unwrap(), // &BlockNumberOrHash { // subtype_0: None, - // subtype_1: Some(EthInt64("0x1FFBDF".into())), + // subtype_1: Some(EthInt64("0x219153".into())), // subtype_2: None, // subtype_3: None, // subtype_4: None, @@ -160,11 +160,11 @@ pub fn all() -> Vec> { // [Tag::SchemaCoverage], // |client| { // let _balance = client.Filecoin_EthGetBalance( - // &EthAddress::from_str("0xff38c072f286e3b20b3954ca9f99c05fbecc64aa").unwrap(), + // &EthAddress::from_str("0x6cb414224f0b91de5c3b616e700e34a5172c149f").unwrap(), // &BlockNumberOrHash { // subtype_0: None, // subtype_1: None, - // subtype_2: Some(EthHash("0xabe09cdb5df97dfe16510f1714282fb16d66147ba21378f8bb1e9a9a52d38c98".into())), + // subtype_2: Some(EthHash("0x711da3a3ebc8fdfea3427d0d7b14e55b94f354baf33a93adca658b28e333f133".into())), // subtype_3: None, // subtype_4: None, // },