{ "openrpc": "1.2.6", "info": { "title": "Lotus RPC API", "version": "1.27.1-dev" }, "methods": [ { "name": "Filecoin.ChainBlockstoreInfo", "description": "```go\nfunc (s *FullNodeStruct) ChainBlockstoreInfo(p0 context.Context) (map[string]interface{}, error) {\n\tif s.Internal.ChainBlockstoreInfo == nil {\n\t\treturn *new(map[string]interface{}), ErrNotSupported\n\t}\n\treturn s.Internal.ChainBlockstoreInfo(p0)\n}\n```", "summary": "ChainBlockstoreInfo returns some basic information about the blockstore\n", "paramStructure": "by-position", "params": [], "result": { "name": "map[string]interface{}", "description": "map[string]interface{}", "summary": "", "schema": { "examples": [ { "abc": 123 } ], "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1328" } }, { "name": "Filecoin.ChainCheckBlockstore", "description": "```go\nfunc (s *FullNodeStruct) ChainCheckBlockstore(p0 context.Context) error {\n\tif s.Internal.ChainCheckBlockstore == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ChainCheckBlockstore(p0)\n}\n```", "summary": "ChainCheckBlockstore performs an (asynchronous) health check on the chain/state blockstore\nif supported by the underlying implementation.\n", "paramStructure": "by-position", "params": [], "result": { "name": "Null", "description": "Null", "schema": { "type": [ "null" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1339" } }, { "name": "Filecoin.ChainDeleteObj", "description": "```go\nfunc (s *FullNodeStruct) ChainDeleteObj(p0 context.Context, p1 cid.Cid) error {\n\tif s.Internal.ChainDeleteObj == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ChainDeleteObj(p0, p1)\n}\n```", "summary": "ChainDeleteObj deletes node referenced by the given CID\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "Null", "description": "Null", "schema": { "type": [ "null" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1350" } }, { "name": "Filecoin.ChainExportRangeInternal", "description": "```go\nfunc (s *FullNodeStruct) ChainExportRangeInternal(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey, p3 ChainExportConfig) error {\n\tif s.Internal.ChainExportRangeInternal == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ChainExportRangeInternal(p0, p1, p2, p3)\n}\n```", "summary": "ChainExportRangeInternal triggers the export of a chain\nCAR-snapshot directly to disk. It is similar to ChainExport,\nexcept, depending on options, the snapshot can include receipts,\nmessages and stateroots for the length between the specified head\nand tail, thus producing \"archival-grade\" snapshots that include\nall the on-chain data. The header chain is included back to\ngenesis and these snapshots can be used to initialize Filecoin\nnodes.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "ChainExportConfig", "summary": "", "schema": { "examples": [ { "WriteBufferSize": 123, "NumWorkers": 123, "IncludeMessages": true, "IncludeReceipts": true, "IncludeStateRoots": true } ], "additionalProperties": false, "properties": { "IncludeMessages": { "type": "boolean" }, "IncludeReceipts": { "type": "boolean" }, "IncludeStateRoots": { "type": "boolean" }, "NumWorkers": { "title": "number", "type": "number" }, "WriteBufferSize": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "Null", "description": "Null", "schema": { "type": [ "null" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1372" } }, { "name": "Filecoin.ChainGetBlock", "description": "```go\nfunc (s *FullNodeStruct) ChainGetBlock(p0 context.Context, p1 cid.Cid) (*types.BlockHeader, error) {\n\tif s.Internal.ChainGetBlock == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.ChainGetBlock(p0, p1)\n}\n```", "summary": "ChainGetBlock returns the block specified by the given CID.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "*types.BlockHeader", "description": "*types.BlockHeader", "summary": "", "schema": { "examples": [ { "Miner": "f01234", "Ticket": { "VRFProof": "Ynl0ZSBhcnJheQ==" }, "ElectionProof": { "WinCount": 9, "VRFProof": "Ynl0ZSBhcnJheQ==" }, "BeaconEntries": [ { "Round": 42, "Data": "Ynl0ZSBhcnJheQ==" } ], "WinPoStProof": [ { "PoStProof": 8, "ProofBytes": "Ynl0ZSBhcnJheQ==" } ], "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "ParentWeight": "0", "Height": 10101, "ParentStateRoot": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "ParentMessageReceipts": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Messages": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "BLSAggregate": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" }, "Timestamp": 42, "BlockSig": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" }, "ForkSignaling": 42, "ParentBaseFee": "0" } ], "additionalProperties": false, "properties": { "BLSAggregate": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" }, "BeaconEntries": { "items": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Round": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "BlockSig": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" }, "ElectionProof": { "additionalProperties": false, "properties": { "VRFProof": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "WinCount": { "title": "number", "type": "number" } }, "type": "object" }, "ForkSignaling": { "title": "number", "type": "number" }, "Height": { "title": "number", "type": "number" }, "Messages": { "title": "Content Identifier", "type": "string" }, "Miner": { "additionalProperties": false, "type": "object" }, "ParentBaseFee": { "additionalProperties": false, "type": "object" }, "ParentMessageReceipts": { "title": "Content Identifier", "type": "string" }, "ParentStateRoot": { "title": "Content Identifier", "type": "string" }, "ParentWeight": { "additionalProperties": false, "type": "object" }, "Parents": { "items": { "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "title": "Content Identifier", "type": "string" }, "type": "array" }, "Ticket": { "additionalProperties": false, "properties": { "VRFProof": { "media": { "binaryEncoding": "base64" }, "type": "string" } }, "type": "object" }, "Timestamp": { "title": "number", "type": "number" }, "WinPoStProof": { "items": { "additionalProperties": false, "properties": { "PoStProof": { "title": "number", "type": "number" }, "ProofBytes": { "media": { "binaryEncoding": "base64" }, "type": "string" } }, "type": "object" }, "type": "array" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1383" } }, { "name": "Filecoin.ChainGetBlockMessages", "description": "```go\nfunc (s *FullNodeStruct) ChainGetBlockMessages(p0 context.Context, p1 cid.Cid) (*BlockMessages, error) {\n\tif s.Internal.ChainGetBlockMessages == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.ChainGetBlockMessages(p0, p1)\n}\n```", "summary": "ChainGetBlockMessages returns messages stored in the specified block.\n\nNote: If there are multiple blocks in a tipset, it's likely that some\nmessages will be duplicated. It's also possible for blocks in a tipset to have\ndifferent messages from the same sender at the same nonce. When that happens,\nonly the first message (in a block with lowest ticket) will be considered\nfor execution\n\nNOTE: THIS METHOD SHOULD ONLY BE USED FOR GETTING MESSAGES IN A SPECIFIC BLOCK\n\nDO NOT USE THIS METHOD TO GET MESSAGES INCLUDED IN A TIPSET\nUse ChainGetParentMessages, which will perform correct message deduplication\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "*BlockMessages", "description": "*BlockMessages", "summary": "", "schema": { "examples": [ { "BlsMessages": [ { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], "SecpkMessages": [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], "Cids": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ] } ], "additionalProperties": false, "properties": { "BlsMessages": { "items": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "Cids": { "items": { "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "title": "Content Identifier", "type": "string" }, "type": "array" }, "SecpkMessages": { "items": { "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "Signature": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" } }, "type": "object" }, "type": "array" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1394" } }, { "name": "Filecoin.ChainGetEvents", "description": "```go\nfunc (s *FullNodeStruct) ChainGetEvents(p0 context.Context, p1 cid.Cid) ([]types.Event, error) {\n\tif s.Internal.ChainGetEvents == nil {\n\t\treturn *new([]types.Event), ErrNotSupported\n\t}\n\treturn s.Internal.ChainGetEvents(p0, p1)\n}\n```", "summary": "ChainGetEvents returns the events under an event AMT root CID.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]types.Event", "description": "[]types.Event", "summary": "", "schema": { "examples": [ [ { "Emitter": 1000, "Entries": [ { "Flags": 7, "Key": "string value", "Codec": 42, "Value": "Ynl0ZSBhcnJheQ==" } ] } ] ], "items": [ { "additionalProperties": false, "properties": { "Emitter": { "title": "number", "type": "number" }, "Entries": { "items": { "additionalProperties": false, "properties": { "Codec": { "title": "number", "type": "number" }, "Flags": { "title": "number", "type": "number" }, "Key": { "type": "string" }, "Value": { "media": { "binaryEncoding": "base64" }, "type": "string" } }, "type": "object" }, "type": "array" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1405" } }, { "name": "Filecoin.ChainGetGenesis", "description": "```go\nfunc (s *FullNodeStruct) ChainGetGenesis(p0 context.Context) (*types.TipSet, error) {\n\tif s.Internal.ChainGetGenesis == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.ChainGetGenesis(p0)\n}\n```", "summary": "ChainGetGenesis returns the genesis tipset.\n", "paramStructure": "by-position", "params": [], "result": { "name": "*types.TipSet", "description": "*types.TipSet", "summary": "", "schema": { "examples": [ { "Cids": null, "Blocks": null, "Height": 0 } ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1416" } }, { "name": "Filecoin.ChainGetMessage", "description": "```go\nfunc (s *FullNodeStruct) ChainGetMessage(p0 context.Context, p1 cid.Cid) (*types.Message, error) {\n\tif s.Internal.ChainGetMessage == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.ChainGetMessage(p0, p1)\n}\n```", "summary": "ChainGetMessage reads a message referenced by the specified CID from the\nchain blockstore.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "*types.Message", "description": "*types.Message", "summary": "", "schema": { "examples": [ { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1427" } }, { "name": "Filecoin.ChainGetMessagesInTipset", "description": "```go\nfunc (s *FullNodeStruct) ChainGetMessagesInTipset(p0 context.Context, p1 types.TipSetKey) ([]Message, error) {\n\tif s.Internal.ChainGetMessagesInTipset == nil {\n\t\treturn *new([]Message), ErrNotSupported\n\t}\n\treturn s.Internal.ChainGetMessagesInTipset(p0, p1)\n}\n```", "summary": "ChainGetMessagesInTipset returns message stores in current tipset\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]Message", "description": "[]Message", "summary": "", "schema": { "examples": [ [ { "Cid": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } } ] ], "items": [ { "additionalProperties": false, "properties": { "Cid": { "title": "Content Identifier", "type": "string" }, "Message": { "additionalProperties": false, "properties": { "Cid": { "title": "Content Identifier", "type": "string" }, "Message": {} }, "type": "object" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1438" } }, { "name": "Filecoin.ChainGetNode", "description": "```go\nfunc (s *FullNodeStruct) ChainGetNode(p0 context.Context, p1 string) (*IpldObject, error) {\n\tif s.Internal.ChainGetNode == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.ChainGetNode(p0, p1)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "string", "summary": "", "schema": { "examples": [ "string value" ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "*IpldObject", "description": "*IpldObject", "summary": "", "schema": { "examples": [ { "Cid": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Obj": {} } ], "additionalProperties": false, "properties": { "Cid": { "title": "Content Identifier", "type": "string" }, "Obj": { "additionalProperties": true, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1449" } }, { "name": "Filecoin.ChainGetParentMessages", "description": "```go\nfunc (s *FullNodeStruct) ChainGetParentMessages(p0 context.Context, p1 cid.Cid) ([]Message, error) {\n\tif s.Internal.ChainGetParentMessages == nil {\n\t\treturn *new([]Message), ErrNotSupported\n\t}\n\treturn s.Internal.ChainGetParentMessages(p0, p1)\n}\n```", "summary": "ChainGetParentMessages returns messages stored in parent tipset of the\nspecified block.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]Message", "description": "[]Message", "summary": "", "schema": { "examples": [ [ { "Cid": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } } ] ], "items": [ { "additionalProperties": false, "properties": { "Cid": { "title": "Content Identifier", "type": "string" }, "Message": { "additionalProperties": false, "properties": { "Cid": { "title": "Content Identifier", "type": "string" }, "Message": {} }, "type": "object" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1460" } }, { "name": "Filecoin.ChainGetParentReceipts", "description": "```go\nfunc (s *FullNodeStruct) ChainGetParentReceipts(p0 context.Context, p1 cid.Cid) ([]*types.MessageReceipt, error) {\n\tif s.Internal.ChainGetParentReceipts == nil {\n\t\treturn *new([]*types.MessageReceipt), ErrNotSupported\n\t}\n\treturn s.Internal.ChainGetParentReceipts(p0, p1)\n}\n```", "summary": "ChainGetParentReceipts returns receipts for messages in parent tipset of\nthe specified block. The receipts in the list returned is one-to-one with the\nmessages returned by a call to ChainGetParentMessages with the same blockCid.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]*types.MessageReceipt", "description": "[]*types.MessageReceipt", "summary": "", "schema": { "examples": [ [ { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", "GasUsed": 9, "EventsRoot": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } } ] ], "items": [ { "additionalProperties": false, "properties": { "EventsRoot": { "title": "Content Identifier", "type": "string" }, "ExitCode": { "title": "number", "type": "number" }, "GasUsed": { "title": "number", "type": "number" }, "Return": { "media": { "binaryEncoding": "base64" }, "type": "string" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1471" } }, { "name": "Filecoin.ChainGetPath", "description": "```go\nfunc (s *FullNodeStruct) ChainGetPath(p0 context.Context, p1 types.TipSetKey, p2 types.TipSetKey) ([]*HeadChange, error) {\n\tif s.Internal.ChainGetPath == nil {\n\t\treturn *new([]*HeadChange), ErrNotSupported\n\t}\n\treturn s.Internal.ChainGetPath(p0, p1, p2)\n}\n```", "summary": "ChainGetPath returns a set of revert/apply operations needed to get from\none tipset to another, for example:\n```\n to\n ^\nfrom tAA\n ^ ^\ntBA tAB\n ^---*--^\n ^\n tRR\n```\nWould return `[revert(tBA), apply(tAB), apply(tAA)]`\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]*HeadChange", "description": "[]*HeadChange", "summary": "", "schema": { "examples": [ [ { "Type": "string value", "Val": { "Cids": null, "Blocks": null, "Height": 0 } } ] ], "items": [ { "additionalProperties": false, "properties": { "Type": { "type": "string" }, "Val": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1482" } }, { "name": "Filecoin.ChainGetTipSet", "description": "```go\nfunc (s *FullNodeStruct) ChainGetTipSet(p0 context.Context, p1 types.TipSetKey) (*types.TipSet, error) {\n\tif s.Internal.ChainGetTipSet == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.ChainGetTipSet(p0, p1)\n}\n```", "summary": "ChainGetTipSet returns the tipset specified by the given TipSetKey.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*types.TipSet", "description": "*types.TipSet", "summary": "", "schema": { "examples": [ { "Cids": null, "Blocks": null, "Height": 0 } ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1493" } }, { "name": "Filecoin.ChainGetTipSetAfterHeight", "description": "```go\nfunc (s *FullNodeStruct) ChainGetTipSetAfterHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error) {\n\tif s.Internal.ChainGetTipSetAfterHeight == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.ChainGetTipSetAfterHeight(p0, p1, p2)\n}\n```", "summary": "ChainGetTipSetAfterHeight looks back for a tipset at the specified epoch.\nIf there are no blocks at the specified epoch, the first non-nil tipset at a later epoch\nwill be returned.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "abi.ChainEpoch", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 10101 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*types.TipSet", "description": "*types.TipSet", "summary": "", "schema": { "examples": [ { "Cids": null, "Blocks": null, "Height": 0 } ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1504" } }, { "name": "Filecoin.ChainGetTipSetByHeight", "description": "```go\nfunc (s *FullNodeStruct) ChainGetTipSetByHeight(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (*types.TipSet, error) {\n\tif s.Internal.ChainGetTipSetByHeight == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.ChainGetTipSetByHeight(p0, p1, p2)\n}\n```", "summary": "ChainGetTipSetByHeight looks back for a tipset at the specified epoch.\nIf there are no blocks at the specified epoch, a tipset at an earlier epoch\nwill be returned.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "abi.ChainEpoch", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 10101 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*types.TipSet", "description": "*types.TipSet", "summary": "", "schema": { "examples": [ { "Cids": null, "Blocks": null, "Height": 0 } ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1515" } }, { "name": "Filecoin.ChainHasObj", "description": "```go\nfunc (s *FullNodeStruct) ChainHasObj(p0 context.Context, p1 cid.Cid) (bool, error) {\n\tif s.Internal.ChainHasObj == nil {\n\t\treturn false, ErrNotSupported\n\t}\n\treturn s.Internal.ChainHasObj(p0, p1)\n}\n```", "summary": "ChainHasObj checks if a given CID exists in the chain blockstore.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "bool", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1526" } }, { "name": "Filecoin.ChainHead", "description": "```go\nfunc (s *FullNodeStruct) ChainHead(p0 context.Context) (*types.TipSet, error) {\n\tif s.Internal.ChainHead == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.ChainHead(p0)\n}\n```", "summary": "ChainHead returns the current head of the chain.\n", "paramStructure": "by-position", "params": [], "result": { "name": "*types.TipSet", "description": "*types.TipSet", "summary": "", "schema": { "examples": [ { "Cids": null, "Blocks": null, "Height": 0 } ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1537" } }, { "name": "Filecoin.ChainHotGC", "description": "```go\nfunc (s *FullNodeStruct) ChainHotGC(p0 context.Context, p1 HotGCOpts) error {\n\tif s.Internal.ChainHotGC == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ChainHotGC(p0, p1)\n}\n```", "summary": "ChainHotGC does online (badger) GC on the hot store; only supported if you are using\nthe splitstore\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "HotGCOpts", "summary": "", "schema": { "examples": [ { "Threshold": 12.3, "Periodic": true, "Moving": true } ], "additionalProperties": false, "properties": { "Moving": { "type": "boolean" }, "Periodic": { "type": "boolean" }, "Threshold": { "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "Null", "description": "Null", "schema": { "type": [ "null" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1548" } }, { "name": "Filecoin.ChainPrune", "description": "```go\nfunc (s *FullNodeStruct) ChainPrune(p0 context.Context, p1 PruneOpts) error {\n\tif s.Internal.ChainPrune == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ChainPrune(p0, p1)\n}\n```", "summary": "ChainPrune forces compaction on cold store and garbage collects; only supported if you\nare using the splitstore\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "PruneOpts", "summary": "", "schema": { "examples": [ { "MovingGC": true, "RetainState": 9 } ], "additionalProperties": false, "properties": { "MovingGC": { "type": "boolean" }, "RetainState": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "Null", "description": "Null", "schema": { "type": [ "null" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1570" } }, { "name": "Filecoin.ChainPutObj", "description": "```go\nfunc (s *FullNodeStruct) ChainPutObj(p0 context.Context, p1 blocks.Block) error {\n\tif s.Internal.ChainPutObj == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ChainPutObj(p0, p1)\n}\n```", "summary": "ChainPutObj puts a given object into the block store\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "blocks.Block", "summary": "", "schema": { "examples": [ {} ], "additionalProperties": true }, "required": true, "deprecated": false } ], "result": { "name": "Null", "description": "Null", "schema": { "type": [ "null" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1581" } }, { "name": "Filecoin.ChainReadObj", "description": "```go\nfunc (s *FullNodeStruct) ChainReadObj(p0 context.Context, p1 cid.Cid) ([]byte, error) {\n\tif s.Internal.ChainReadObj == nil {\n\t\treturn *new([]byte), ErrNotSupported\n\t}\n\treturn s.Internal.ChainReadObj(p0, p1)\n}\n```", "summary": "ChainReadObj reads ipld nodes referenced by the specified CID from chain\nblockstore and returns raw bytes.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]byte", "description": "[]byte", "summary": "", "schema": { "examples": [ "Ynl0ZSBhcnJheQ==" ], "type": [ "string" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1592" } }, { "name": "Filecoin.ChainSetHead", "description": "```go\nfunc (s *FullNodeStruct) ChainSetHead(p0 context.Context, p1 types.TipSetKey) error {\n\tif s.Internal.ChainSetHead == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.ChainSetHead(p0, p1)\n}\n```", "summary": "ChainSetHead forcefully sets current chain head. Use with caution.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "Null", "description": "Null", "schema": { "type": [ "null" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1603" } }, { "name": "Filecoin.ChainStatObj", "description": "```go\nfunc (s *FullNodeStruct) ChainStatObj(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (ObjStat, error) {\n\tif s.Internal.ChainStatObj == nil {\n\t\treturn *new(ObjStat), ErrNotSupported\n\t}\n\treturn s.Internal.ChainStatObj(p0, p1, p2)\n}\n```", "summary": "ChainStatObj returns statistics about the graph referenced by 'obj'.\nIf 'base' is also specified, then the returned stat will be a diff\nbetween the two objects.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "ObjStat", "description": "ObjStat", "summary": "", "schema": { "examples": [ { "Size": 42, "Links": 42 } ], "additionalProperties": false, "properties": { "Links": { "title": "number", "type": "number" }, "Size": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1614" } }, { "name": "Filecoin.ChainTipSetWeight", "description": "```go\nfunc (s *FullNodeStruct) ChainTipSetWeight(p0 context.Context, p1 types.TipSetKey) (types.BigInt, error) {\n\tif s.Internal.ChainTipSetWeight == nil {\n\t\treturn *new(types.BigInt), ErrNotSupported\n\t}\n\treturn s.Internal.ChainTipSetWeight(p0, p1)\n}\n```", "summary": "ChainTipSetWeight computes weight for the specified tipset.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "types.BigInt", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1625" } }, { "name": "Filecoin.CreateBackup", "description": "```go\nfunc (s *FullNodeStruct) CreateBackup(p0 context.Context, p1 string) error {\n\tif s.Internal.CreateBackup == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.CreateBackup(p0, p1)\n}\n```", "summary": "CreateBackup creates node backup onder the specified file name. The\nmethod requires that the lotus daemon is running with the\nLOTUS_BACKUP_BASE_PATH environment variable set to some path, and that\nthe path specified when calling CreateBackup is within the base path\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "string", "summary": "", "schema": { "examples": [ "string value" ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "Null", "description": "Null", "schema": { "type": [ "null" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1636" } }, { "name": "Filecoin.EthAccounts", "description": "```go\nfunc (s *FullNodeStruct) EthAccounts(p0 context.Context) ([]ethtypes.EthAddress, error) {\n\tif s.Internal.EthAccounts == nil {\n\t\treturn *new([]ethtypes.EthAddress), ErrNotSupported\n\t}\n\treturn s.Internal.EthAccounts(p0)\n}\n```", "summary": "There are not yet any comments for this method.", "paramStructure": "by-position", "params": [], "result": { "name": "[]ethtypes.EthAddress", "description": "[]ethtypes.EthAddress", "summary": "", "schema": { "examples": [ [ "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031" ] ], "items": [ { "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 20, "minItems": 20, "type": [ "array" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1647" } }, { "name": "Filecoin.EthAddressToFilecoinAddress", "description": "```go\nfunc (s *FullNodeStruct) EthAddressToFilecoinAddress(p0 context.Context, p1 ethtypes.EthAddress) (address.Address, error) {\n\tif s.Internal.EthAddressToFilecoinAddress == nil {\n\t\treturn *new(address.Address), ErrNotSupported\n\t}\n\treturn s.Internal.EthAddressToFilecoinAddress(p0, p1)\n}\n```", "summary": "EthAddressToFilecoinAddress converts an EthAddress into an f410 Filecoin Address\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "ethtypes.EthAddress", "summary": "", "schema": { "examples": [ "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 20, "minItems": 20, "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "address.Address", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1658" } }, { "name": "Filecoin.EthBlockNumber", "description": "```go\nfunc (s *FullNodeStruct) EthBlockNumber(p0 context.Context) (ethtypes.EthUint64, error) {\n\tif s.Internal.EthBlockNumber == nil {\n\t\treturn *new(ethtypes.EthUint64), ErrNotSupported\n\t}\n\treturn s.Internal.EthBlockNumber(p0)\n}\n```", "summary": "EthBlockNumber returns the height of the latest (heaviest) TipSet\n", "paramStructure": "by-position", "params": [], "result": { "name": "ethtypes.EthUint64", "description": "ethtypes.EthUint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ "0x5" ], "type": [ "number" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1669" } }, { "name": "Filecoin.EthCall", "description": "```go\nfunc (s *FullNodeStruct) EthCall(p0 context.Context, p1 ethtypes.EthCall, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) {\n\tif s.Internal.EthCall == nil {\n\t\treturn *new(ethtypes.EthBytes), ErrNotSupported\n\t}\n\treturn s.Internal.EthCall(p0, p1, p2)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "ethtypes.EthCall", "summary": "", "schema": { "examples": [ { "from": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "to": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "gas": "0x5", "gasPrice": "0x0", "value": "0x0", "data": "0x07" } ], "additionalProperties": false, "properties": { "data": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "from": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "gas": { "title": "number", "type": "number" }, "gasPrice": { "additionalProperties": false, "type": "object" }, "to": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "value": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "ethtypes.EthBlockNumberOrHash", "summary": "", "schema": { "examples": [ "string value" ], "additionalProperties": false, "properties": { "blockHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "blockNumber": { "title": "number", "type": "number" }, "requireCanonical": { "type": "boolean" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "ethtypes.EthBytes", "description": "ethtypes.EthBytes", "summary": "", "schema": { "examples": [ "0x07" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1680" } }, { "name": "Filecoin.EthChainId", "description": "```go\nfunc (s *FullNodeStruct) EthChainId(p0 context.Context) (ethtypes.EthUint64, error) {\n\tif s.Internal.EthChainId == nil {\n\t\treturn *new(ethtypes.EthUint64), ErrNotSupported\n\t}\n\treturn s.Internal.EthChainId(p0)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [], "result": { "name": "ethtypes.EthUint64", "description": "ethtypes.EthUint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ "0x5" ], "type": [ "number" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1691" } }, { "name": "Filecoin.EthEstimateGas", "description": "```go\nfunc (s *FullNodeStruct) EthEstimateGas(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthUint64, error) {\n\tif s.Internal.EthEstimateGas == nil {\n\t\treturn *new(ethtypes.EthUint64), ErrNotSupported\n\t}\n\treturn s.Internal.EthEstimateGas(p0, p1)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "jsonrpc.RawParams", "summary": "", "schema": { "examples": [ "Bw==" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "ethtypes.EthUint64", "description": "ethtypes.EthUint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ "0x5" ], "type": [ "number" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1702" } }, { "name": "Filecoin.EthFeeHistory", "description": "```go\nfunc (s *FullNodeStruct) EthFeeHistory(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthFeeHistory, error) {\n\tif s.Internal.EthFeeHistory == nil {\n\t\treturn *new(ethtypes.EthFeeHistory), ErrNotSupported\n\t}\n\treturn s.Internal.EthFeeHistory(p0, p1)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "jsonrpc.RawParams", "summary": "", "schema": { "examples": [ "Bw==" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "ethtypes.EthFeeHistory", "description": "ethtypes.EthFeeHistory", "summary": "", "schema": { "examples": [ { "oldestBlock": "0x5", "baseFeePerGas": [ "0x0" ], "gasUsedRatio": [ 12.3 ], "reward": [] } ], "additionalProperties": false, "properties": { "baseFeePerGas": { "items": { "additionalProperties": false, "type": "object" }, "type": "array" }, "gasUsedRatio": { "items": { "type": "number" }, "type": "array" }, "oldestBlock": { "title": "number", "type": "number" }, "reward": { "items": { "items": { "additionalProperties": false, "type": "object" }, "type": "array" }, "type": "array" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1713" } }, { "name": "Filecoin.EthGasPrice", "description": "```go\nfunc (s *FullNodeStruct) EthGasPrice(p0 context.Context) (ethtypes.EthBigInt, error) {\n\tif s.Internal.EthGasPrice == nil {\n\t\treturn *new(ethtypes.EthBigInt), ErrNotSupported\n\t}\n\treturn s.Internal.EthGasPrice(p0)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [], "result": { "name": "ethtypes.EthBigInt", "description": "ethtypes.EthBigInt", "summary": "", "schema": { "examples": [ "0x0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1724" } }, { "name": "Filecoin.EthGetBalance", "description": "```go\nfunc (s *FullNodeStruct) EthGetBalance(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBigInt, error) {\n\tif s.Internal.EthGetBalance == nil {\n\t\treturn *new(ethtypes.EthBigInt), ErrNotSupported\n\t}\n\treturn s.Internal.EthGetBalance(p0, p1, p2)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "ethtypes.EthAddress", "summary": "", "schema": { "examples": [ "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 20, "minItems": 20, "type": [ "array" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "ethtypes.EthBlockNumberOrHash", "summary": "", "schema": { "examples": [ "string value" ], "additionalProperties": false, "properties": { "blockHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "blockNumber": { "title": "number", "type": "number" }, "requireCanonical": { "type": "boolean" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "ethtypes.EthBigInt", "description": "ethtypes.EthBigInt", "summary": "", "schema": { "examples": [ "0x0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1735" } }, { "name": "Filecoin.EthGetBlockByHash", "description": "```go\nfunc (s *FullNodeStruct) EthGetBlockByHash(p0 context.Context, p1 ethtypes.EthHash, p2 bool) (ethtypes.EthBlock, error) {\n\tif s.Internal.EthGetBlockByHash == nil {\n\t\treturn *new(ethtypes.EthBlock), ErrNotSupported\n\t}\n\treturn s.Internal.EthGetBlockByHash(p0, p1, p2)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "ethtypes.EthHash", "summary": "", "schema": { "examples": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 32, "minItems": 32, "type": [ "array" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false } ], "result": { "name": "ethtypes.EthBlock", "description": "ethtypes.EthBlock", "summary": "", "schema": { "examples": [ { "hash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "parentHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "sha3Uncles": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "miner": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "stateRoot": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "transactionsRoot": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "receiptsRoot": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "logsBloom": "0x07", "difficulty": "0x5", "totalDifficulty": "0x5", "number": "0x5", "gasLimit": "0x5", "gasUsed": "0x5", "timestamp": "0x5", "extraData": "0x07", "mixHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "nonce": "0x0707070707070707", "baseFeePerGas": "0x0", "size": "0x5", "transactions": [ {} ], "uncles": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ] } ], "additionalProperties": false, "properties": { "baseFeePerGas": { "additionalProperties": false, "type": "object" }, "difficulty": { "title": "number", "type": "number" }, "extraData": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "gasLimit": { "title": "number", "type": "number" }, "gasUsed": { "title": "number", "type": "number" }, "hash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "logsBloom": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "miner": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "mixHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "nonce": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 8, "minItems": 8, "type": "array" }, "number": { "title": "number", "type": "number" }, "parentHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "receiptsRoot": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "sha3Uncles": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "size": { "title": "number", "type": "number" }, "stateRoot": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "timestamp": { "title": "number", "type": "number" }, "totalDifficulty": { "title": "number", "type": "number" }, "transactions": { "items": { "additionalProperties": true, "type": "object" }, "type": "array" }, "transactionsRoot": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "uncles": { "items": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "type": "array" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1746" } }, { "name": "Filecoin.EthGetBlockByNumber", "description": "```go\nfunc (s *FullNodeStruct) EthGetBlockByNumber(p0 context.Context, p1 string, p2 bool) (ethtypes.EthBlock, error) {\n\tif s.Internal.EthGetBlockByNumber == nil {\n\t\treturn *new(ethtypes.EthBlock), ErrNotSupported\n\t}\n\treturn s.Internal.EthGetBlockByNumber(p0, p1, p2)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "string", "summary": "", "schema": { "examples": [ "string value" ], "type": [ "string" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false } ], "result": { "name": "ethtypes.EthBlock", "description": "ethtypes.EthBlock", "summary": "", "schema": { "examples": [ { "hash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "parentHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "sha3Uncles": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "miner": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "stateRoot": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "transactionsRoot": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "receiptsRoot": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "logsBloom": "0x07", "difficulty": "0x5", "totalDifficulty": "0x5", "number": "0x5", "gasLimit": "0x5", "gasUsed": "0x5", "timestamp": "0x5", "extraData": "0x07", "mixHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "nonce": "0x0707070707070707", "baseFeePerGas": "0x0", "size": "0x5", "transactions": [ {} ], "uncles": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ] } ], "additionalProperties": false, "properties": { "baseFeePerGas": { "additionalProperties": false, "type": "object" }, "difficulty": { "title": "number", "type": "number" }, "extraData": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "gasLimit": { "title": "number", "type": "number" }, "gasUsed": { "title": "number", "type": "number" }, "hash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "logsBloom": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "miner": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "mixHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "nonce": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 8, "minItems": 8, "type": "array" }, "number": { "title": "number", "type": "number" }, "parentHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "receiptsRoot": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "sha3Uncles": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "size": { "title": "number", "type": "number" }, "stateRoot": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "timestamp": { "title": "number", "type": "number" }, "totalDifficulty": { "title": "number", "type": "number" }, "transactions": { "items": { "additionalProperties": true, "type": "object" }, "type": "array" }, "transactionsRoot": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "uncles": { "items": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "type": "array" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1757" } }, { "name": "Filecoin.EthGetBlockTransactionCountByHash", "description": "```go\nfunc (s *FullNodeStruct) EthGetBlockTransactionCountByHash(p0 context.Context, p1 ethtypes.EthHash) (ethtypes.EthUint64, error) {\n\tif s.Internal.EthGetBlockTransactionCountByHash == nil {\n\t\treturn *new(ethtypes.EthUint64), ErrNotSupported\n\t}\n\treturn s.Internal.EthGetBlockTransactionCountByHash(p0, p1)\n}\n```", "summary": "EthGetBlockTransactionCountByHash returns the number of messages in the TipSet\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "ethtypes.EthHash", "summary": "", "schema": { "examples": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 32, "minItems": 32, "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "ethtypes.EthUint64", "description": "ethtypes.EthUint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ "0x5" ], "type": [ "number" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1768" } }, { "name": "Filecoin.EthGetBlockTransactionCountByNumber", "description": "```go\nfunc (s *FullNodeStruct) EthGetBlockTransactionCountByNumber(p0 context.Context, p1 ethtypes.EthUint64) (ethtypes.EthUint64, error) {\n\tif s.Internal.EthGetBlockTransactionCountByNumber == nil {\n\t\treturn *new(ethtypes.EthUint64), ErrNotSupported\n\t}\n\treturn s.Internal.EthGetBlockTransactionCountByNumber(p0, p1)\n}\n```", "summary": "EthGetBlockTransactionCountByNumber returns the number of messages in the TipSet\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "ethtypes.EthUint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ "0x5" ], "type": [ "number" ] }, "required": true, "deprecated": false } ], "result": { "name": "ethtypes.EthUint64", "description": "ethtypes.EthUint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ "0x5" ], "type": [ "number" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1779" } }, { "name": "Filecoin.EthGetCode", "description": "```go\nfunc (s *FullNodeStruct) EthGetCode(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) {\n\tif s.Internal.EthGetCode == nil {\n\t\treturn *new(ethtypes.EthBytes), ErrNotSupported\n\t}\n\treturn s.Internal.EthGetCode(p0, p1, p2)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "ethtypes.EthAddress", "summary": "", "schema": { "examples": [ "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 20, "minItems": 20, "type": [ "array" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "ethtypes.EthBlockNumberOrHash", "summary": "", "schema": { "examples": [ "string value" ], "additionalProperties": false, "properties": { "blockHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "blockNumber": { "title": "number", "type": "number" }, "requireCanonical": { "type": "boolean" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "ethtypes.EthBytes", "description": "ethtypes.EthBytes", "summary": "", "schema": { "examples": [ "0x07" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1790" } }, { "name": "Filecoin.EthGetFilterChanges", "description": "```go\nfunc (s *FullNodeStruct) EthGetFilterChanges(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) {\n\tif s.Internal.EthGetFilterChanges == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.EthGetFilterChanges(p0, p1)\n}\n```", "summary": "Polling method for a filter, returns event logs which occurred since last poll.\n(requires write perm since timestamp of last filter execution will be written)\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "ethtypes.EthFilterID", "summary": "", "schema": { "examples": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 32, "minItems": 32, "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "*ethtypes.EthFilterResult", "description": "*ethtypes.EthFilterResult", "summary": "", "schema": { "examples": [ [ {} ] ], "additionalProperties": false, "properties": { "Results": { "items": { "additionalProperties": true, "type": "object" }, "type": "array" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1801" } }, { "name": "Filecoin.EthGetFilterLogs", "description": "```go\nfunc (s *FullNodeStruct) EthGetFilterLogs(p0 context.Context, p1 ethtypes.EthFilterID) (*ethtypes.EthFilterResult, error) {\n\tif s.Internal.EthGetFilterLogs == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.EthGetFilterLogs(p0, p1)\n}\n```", "summary": "Returns event logs matching filter with given id.\n(requires write perm since timestamp of last filter execution will be written)\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "ethtypes.EthFilterID", "summary": "", "schema": { "examples": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 32, "minItems": 32, "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "*ethtypes.EthFilterResult", "description": "*ethtypes.EthFilterResult", "summary": "", "schema": { "examples": [ [ {} ] ], "additionalProperties": false, "properties": { "Results": { "items": { "additionalProperties": true, "type": "object" }, "type": "array" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1812" } }, { "name": "Filecoin.EthGetLogs", "description": "```go\nfunc (s *FullNodeStruct) EthGetLogs(p0 context.Context, p1 *ethtypes.EthFilterSpec) (*ethtypes.EthFilterResult, error) {\n\tif s.Internal.EthGetLogs == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.EthGetLogs(p0, p1)\n}\n```", "summary": "Returns event logs matching given filter spec.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "*ethtypes.EthFilterSpec", "summary": "", "schema": { "examples": [ { "fromBlock": "2301220", "address": [ "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031" ], "topics": null } ], "additionalProperties": false, "properties": { "address": { "items": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "type": "array" }, "blockHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "fromBlock": { "type": "string" }, "toBlock": { "type": "string" }, "topics": { "items": { "items": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "type": "array" }, "type": "array" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*ethtypes.EthFilterResult", "description": "*ethtypes.EthFilterResult", "summary": "", "schema": { "examples": [ [ {} ] ], "additionalProperties": false, "properties": { "Results": { "items": { "additionalProperties": true, "type": "object" }, "type": "array" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1823" } }, { "name": "Filecoin.EthGetMessageCidByTransactionHash", "description": "```go\nfunc (s *FullNodeStruct) EthGetMessageCidByTransactionHash(p0 context.Context, p1 *ethtypes.EthHash) (*cid.Cid, error) {\n\tif s.Internal.EthGetMessageCidByTransactionHash == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.EthGetMessageCidByTransactionHash(p0, p1)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "*ethtypes.EthHash", "summary": "", "schema": { "examples": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 32, "minItems": 32, "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "*cid.Cid", "description": "*cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1834" } }, { "name": "Filecoin.EthGetStorageAt", "description": "```go\nfunc (s *FullNodeStruct) EthGetStorageAt(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBytes, p3 ethtypes.EthBlockNumberOrHash) (ethtypes.EthBytes, error) {\n\tif s.Internal.EthGetStorageAt == nil {\n\t\treturn *new(ethtypes.EthBytes), ErrNotSupported\n\t}\n\treturn s.Internal.EthGetStorageAt(p0, p1, p2, p3)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "ethtypes.EthAddress", "summary": "", "schema": { "examples": [ "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 20, "minItems": 20, "type": [ "array" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "ethtypes.EthBytes", "summary": "", "schema": { "examples": [ "0x07" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "ethtypes.EthBlockNumberOrHash", "summary": "", "schema": { "examples": [ "string value" ], "additionalProperties": false, "properties": { "blockHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "blockNumber": { "title": "number", "type": "number" }, "requireCanonical": { "type": "boolean" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "ethtypes.EthBytes", "description": "ethtypes.EthBytes", "summary": "", "schema": { "examples": [ "0x07" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1845" } }, { "name": "Filecoin.EthGetTransactionByBlockHashAndIndex", "description": "```go\nfunc (s *FullNodeStruct) EthGetTransactionByBlockHashAndIndex(p0 context.Context, p1 ethtypes.EthHash, p2 ethtypes.EthUint64) (ethtypes.EthTx, error) {\n\tif s.Internal.EthGetTransactionByBlockHashAndIndex == nil {\n\t\treturn *new(ethtypes.EthTx), ErrNotSupported\n\t}\n\treturn s.Internal.EthGetTransactionByBlockHashAndIndex(p0, p1, p2)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "ethtypes.EthHash", "summary": "", "schema": { "examples": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 32, "minItems": 32, "type": [ "array" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "ethtypes.EthUint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ "0x5" ], "type": [ "number" ] }, "required": true, "deprecated": false } ], "result": { "name": "ethtypes.EthTx", "description": "ethtypes.EthTx", "summary": "", "schema": { "examples": [ { "chainId": "0x5", "nonce": "0x5", "hash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "blockHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "blockNumber": "0x5", "transactionIndex": "0x5", "from": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "to": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "value": "0x0", "type": "0x5", "input": "0x07", "gas": "0x5", "maxFeePerGas": "0x0", "maxPriorityFeePerGas": "0x0", "gasPrice": "0x0", "accessList": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "v": "0x0", "r": "0x0", "s": "0x0" } ], "additionalProperties": false, "properties": { "accessList": { "items": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "type": "array" }, "blockHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "blockNumber": { "title": "number", "type": "number" }, "chainId": { "title": "number", "type": "number" }, "from": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "gas": { "title": "number", "type": "number" }, "gasPrice": { "additionalProperties": false, "type": "object" }, "hash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "input": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "maxFeePerGas": { "additionalProperties": false, "type": "object" }, "maxPriorityFeePerGas": { "additionalProperties": false, "type": "object" }, "nonce": { "title": "number", "type": "number" }, "r": { "additionalProperties": false, "type": "object" }, "s": { "additionalProperties": false, "type": "object" }, "to": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "transactionIndex": { "title": "number", "type": "number" }, "type": { "title": "number", "type": "number" }, "v": { "additionalProperties": false, "type": "object" }, "value": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1856" } }, { "name": "Filecoin.EthGetTransactionByBlockNumberAndIndex", "description": "```go\nfunc (s *FullNodeStruct) EthGetTransactionByBlockNumberAndIndex(p0 context.Context, p1 ethtypes.EthUint64, p2 ethtypes.EthUint64) (ethtypes.EthTx, error) {\n\tif s.Internal.EthGetTransactionByBlockNumberAndIndex == nil {\n\t\treturn *new(ethtypes.EthTx), ErrNotSupported\n\t}\n\treturn s.Internal.EthGetTransactionByBlockNumberAndIndex(p0, p1, p2)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "ethtypes.EthUint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ "0x5" ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "ethtypes.EthUint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ "0x5" ], "type": [ "number" ] }, "required": true, "deprecated": false } ], "result": { "name": "ethtypes.EthTx", "description": "ethtypes.EthTx", "summary": "", "schema": { "examples": [ { "chainId": "0x5", "nonce": "0x5", "hash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "blockHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "blockNumber": "0x5", "transactionIndex": "0x5", "from": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "to": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "value": "0x0", "type": "0x5", "input": "0x07", "gas": "0x5", "maxFeePerGas": "0x0", "maxPriorityFeePerGas": "0x0", "gasPrice": "0x0", "accessList": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "v": "0x0", "r": "0x0", "s": "0x0" } ], "additionalProperties": false, "properties": { "accessList": { "items": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "type": "array" }, "blockHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "blockNumber": { "title": "number", "type": "number" }, "chainId": { "title": "number", "type": "number" }, "from": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "gas": { "title": "number", "type": "number" }, "gasPrice": { "additionalProperties": false, "type": "object" }, "hash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "input": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "maxFeePerGas": { "additionalProperties": false, "type": "object" }, "maxPriorityFeePerGas": { "additionalProperties": false, "type": "object" }, "nonce": { "title": "number", "type": "number" }, "r": { "additionalProperties": false, "type": "object" }, "s": { "additionalProperties": false, "type": "object" }, "to": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "transactionIndex": { "title": "number", "type": "number" }, "type": { "title": "number", "type": "number" }, "v": { "additionalProperties": false, "type": "object" }, "value": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1867" } }, { "name": "Filecoin.EthGetTransactionByHash", "description": "```go\nfunc (s *FullNodeStruct) EthGetTransactionByHash(p0 context.Context, p1 *ethtypes.EthHash) (*ethtypes.EthTx, error) {\n\tif s.Internal.EthGetTransactionByHash == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.EthGetTransactionByHash(p0, p1)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "*ethtypes.EthHash", "summary": "", "schema": { "examples": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 32, "minItems": 32, "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "*ethtypes.EthTx", "description": "*ethtypes.EthTx", "summary": "", "schema": { "examples": [ { "chainId": "0x5", "nonce": "0x5", "hash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "blockHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "blockNumber": "0x5", "transactionIndex": "0x5", "from": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "to": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "value": "0x0", "type": "0x5", "input": "0x07", "gas": "0x5", "maxFeePerGas": "0x0", "maxPriorityFeePerGas": "0x0", "gasPrice": "0x0", "accessList": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "v": "0x0", "r": "0x0", "s": "0x0" } ], "additionalProperties": false, "properties": { "accessList": { "items": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "type": "array" }, "blockHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "blockNumber": { "title": "number", "type": "number" }, "chainId": { "title": "number", "type": "number" }, "from": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "gas": { "title": "number", "type": "number" }, "gasPrice": { "additionalProperties": false, "type": "object" }, "hash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "input": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "maxFeePerGas": { "additionalProperties": false, "type": "object" }, "maxPriorityFeePerGas": { "additionalProperties": false, "type": "object" }, "nonce": { "title": "number", "type": "number" }, "r": { "additionalProperties": false, "type": "object" }, "s": { "additionalProperties": false, "type": "object" }, "to": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "transactionIndex": { "title": "number", "type": "number" }, "type": { "title": "number", "type": "number" }, "v": { "additionalProperties": false, "type": "object" }, "value": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1878" } }, { "name": "Filecoin.EthGetTransactionByHashLimited", "description": "```go\nfunc (s *FullNodeStruct) EthGetTransactionByHashLimited(p0 context.Context, p1 *ethtypes.EthHash, p2 abi.ChainEpoch) (*ethtypes.EthTx, error) {\n\tif s.Internal.EthGetTransactionByHashLimited == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.EthGetTransactionByHashLimited(p0, p1, p2)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "*ethtypes.EthHash", "summary": "", "schema": { "examples": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 32, "minItems": 32, "type": [ "array" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "abi.ChainEpoch", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 10101 ], "type": [ "number" ] }, "required": true, "deprecated": false } ], "result": { "name": "*ethtypes.EthTx", "description": "*ethtypes.EthTx", "summary": "", "schema": { "examples": [ { "chainId": "0x5", "nonce": "0x5", "hash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "blockHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "blockNumber": "0x5", "transactionIndex": "0x5", "from": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "to": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "value": "0x0", "type": "0x5", "input": "0x07", "gas": "0x5", "maxFeePerGas": "0x0", "maxPriorityFeePerGas": "0x0", "gasPrice": "0x0", "accessList": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "v": "0x0", "r": "0x0", "s": "0x0" } ], "additionalProperties": false, "properties": { "accessList": { "items": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "type": "array" }, "blockHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "blockNumber": { "title": "number", "type": "number" }, "chainId": { "title": "number", "type": "number" }, "from": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "gas": { "title": "number", "type": "number" }, "gasPrice": { "additionalProperties": false, "type": "object" }, "hash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "input": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "maxFeePerGas": { "additionalProperties": false, "type": "object" }, "maxPriorityFeePerGas": { "additionalProperties": false, "type": "object" }, "nonce": { "title": "number", "type": "number" }, "r": { "additionalProperties": false, "type": "object" }, "s": { "additionalProperties": false, "type": "object" }, "to": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "transactionIndex": { "title": "number", "type": "number" }, "type": { "title": "number", "type": "number" }, "v": { "additionalProperties": false, "type": "object" }, "value": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1889" } }, { "name": "Filecoin.EthGetTransactionCount", "description": "```go\nfunc (s *FullNodeStruct) EthGetTransactionCount(p0 context.Context, p1 ethtypes.EthAddress, p2 ethtypes.EthBlockNumberOrHash) (ethtypes.EthUint64, error) {\n\tif s.Internal.EthGetTransactionCount == nil {\n\t\treturn *new(ethtypes.EthUint64), ErrNotSupported\n\t}\n\treturn s.Internal.EthGetTransactionCount(p0, p1, p2)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "ethtypes.EthAddress", "summary": "", "schema": { "examples": [ "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 20, "minItems": 20, "type": [ "array" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "ethtypes.EthBlockNumberOrHash", "summary": "", "schema": { "examples": [ "string value" ], "additionalProperties": false, "properties": { "blockHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "blockNumber": { "title": "number", "type": "number" }, "requireCanonical": { "type": "boolean" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "ethtypes.EthUint64", "description": "ethtypes.EthUint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ "0x5" ], "type": [ "number" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1900" } }, { "name": "Filecoin.EthGetTransactionHashByCid", "description": "```go\nfunc (s *FullNodeStruct) EthGetTransactionHashByCid(p0 context.Context, p1 cid.Cid) (*ethtypes.EthHash, error) {\n\tif s.Internal.EthGetTransactionHashByCid == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.EthGetTransactionHashByCid(p0, p1)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "*ethtypes.EthHash", "description": "*ethtypes.EthHash", "summary": "", "schema": { "examples": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 32, "minItems": 32, "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1911" } }, { "name": "Filecoin.EthGetTransactionReceipt", "description": "```go\nfunc (s *FullNodeStruct) EthGetTransactionReceipt(p0 context.Context, p1 ethtypes.EthHash) (*EthTxReceipt, error) {\n\tif s.Internal.EthGetTransactionReceipt == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.EthGetTransactionReceipt(p0, p1)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "ethtypes.EthHash", "summary": "", "schema": { "examples": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 32, "minItems": 32, "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "*EthTxReceipt", "description": "*EthTxReceipt", "summary": "", "schema": { "examples": [ { "transactionHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "transactionIndex": "0x5", "blockHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "blockNumber": "0x5", "from": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "to": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "root": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "status": "0x5", "contractAddress": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "cumulativeGasUsed": "0x5", "gasUsed": "0x5", "effectiveGasPrice": "0x0", "logsBloom": "0x07", "logs": [ { "address": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "data": "0x07", "topics": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "removed": true, "logIndex": "0x5", "transactionIndex": "0x5", "transactionHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "blockHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "blockNumber": "0x5" } ], "type": "0x5" } ], "additionalProperties": false, "properties": { "blockHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "blockNumber": { "title": "number", "type": "number" }, "contractAddress": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "cumulativeGasUsed": { "title": "number", "type": "number" }, "effectiveGasPrice": { "additionalProperties": false, "type": "object" }, "from": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "gasUsed": { "title": "number", "type": "number" }, "logs": { "items": { "additionalProperties": false, "properties": { "address": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "blockHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "blockNumber": { "title": "number", "type": "number" }, "data": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "logIndex": { "title": "number", "type": "number" }, "removed": { "type": "boolean" }, "topics": { "items": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "type": "array" }, "transactionHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "transactionIndex": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "logsBloom": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "root": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "status": { "title": "number", "type": "number" }, "to": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "transactionHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "transactionIndex": { "title": "number", "type": "number" }, "type": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1922" } }, { "name": "Filecoin.EthGetTransactionReceiptLimited", "description": "```go\nfunc (s *FullNodeStruct) EthGetTransactionReceiptLimited(p0 context.Context, p1 ethtypes.EthHash, p2 abi.ChainEpoch) (*EthTxReceipt, error) {\n\tif s.Internal.EthGetTransactionReceiptLimited == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.EthGetTransactionReceiptLimited(p0, p1, p2)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "ethtypes.EthHash", "summary": "", "schema": { "examples": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 32, "minItems": 32, "type": [ "array" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "abi.ChainEpoch", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 10101 ], "type": [ "number" ] }, "required": true, "deprecated": false } ], "result": { "name": "*EthTxReceipt", "description": "*EthTxReceipt", "summary": "", "schema": { "examples": [ { "transactionHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "transactionIndex": "0x5", "blockHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "blockNumber": "0x5", "from": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "to": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "root": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "status": "0x5", "contractAddress": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "cumulativeGasUsed": "0x5", "gasUsed": "0x5", "effectiveGasPrice": "0x0", "logsBloom": "0x07", "logs": [ { "address": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "data": "0x07", "topics": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "removed": true, "logIndex": "0x5", "transactionIndex": "0x5", "transactionHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "blockHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "blockNumber": "0x5" } ], "type": "0x5" } ], "additionalProperties": false, "properties": { "blockHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "blockNumber": { "title": "number", "type": "number" }, "contractAddress": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "cumulativeGasUsed": { "title": "number", "type": "number" }, "effectiveGasPrice": { "additionalProperties": false, "type": "object" }, "from": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "gasUsed": { "title": "number", "type": "number" }, "logs": { "items": { "additionalProperties": false, "properties": { "address": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "blockHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "blockNumber": { "title": "number", "type": "number" }, "data": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "logIndex": { "title": "number", "type": "number" }, "removed": { "type": "boolean" }, "topics": { "items": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "type": "array" }, "transactionHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "transactionIndex": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "logsBloom": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "root": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "status": { "title": "number", "type": "number" }, "to": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "transactionHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "transactionIndex": { "title": "number", "type": "number" }, "type": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1933" } }, { "name": "Filecoin.EthMaxPriorityFeePerGas", "description": "```go\nfunc (s *FullNodeStruct) EthMaxPriorityFeePerGas(p0 context.Context) (ethtypes.EthBigInt, error) {\n\tif s.Internal.EthMaxPriorityFeePerGas == nil {\n\t\treturn *new(ethtypes.EthBigInt), ErrNotSupported\n\t}\n\treturn s.Internal.EthMaxPriorityFeePerGas(p0)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [], "result": { "name": "ethtypes.EthBigInt", "description": "ethtypes.EthBigInt", "summary": "", "schema": { "examples": [ "0x0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1944" } }, { "name": "Filecoin.EthNewBlockFilter", "description": "```go\nfunc (s *FullNodeStruct) EthNewBlockFilter(p0 context.Context) (ethtypes.EthFilterID, error) {\n\tif s.Internal.EthNewBlockFilter == nil {\n\t\treturn *new(ethtypes.EthFilterID), ErrNotSupported\n\t}\n\treturn s.Internal.EthNewBlockFilter(p0)\n}\n```", "summary": "Installs a persistent filter to notify when a new block arrives.\n", "paramStructure": "by-position", "params": [], "result": { "name": "ethtypes.EthFilterID", "description": "ethtypes.EthFilterID", "summary": "", "schema": { "examples": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 32, "minItems": 32, "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1955" } }, { "name": "Filecoin.EthNewFilter", "description": "```go\nfunc (s *FullNodeStruct) EthNewFilter(p0 context.Context, p1 *ethtypes.EthFilterSpec) (ethtypes.EthFilterID, error) {\n\tif s.Internal.EthNewFilter == nil {\n\t\treturn *new(ethtypes.EthFilterID), ErrNotSupported\n\t}\n\treturn s.Internal.EthNewFilter(p0, p1)\n}\n```", "summary": "Installs a persistent filter based on given filter spec.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "*ethtypes.EthFilterSpec", "summary": "", "schema": { "examples": [ { "fromBlock": "2301220", "address": [ "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031" ], "topics": null } ], "additionalProperties": false, "properties": { "address": { "items": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 20, "minItems": 20, "type": "array" }, "type": "array" }, "blockHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "fromBlock": { "type": "string" }, "toBlock": { "type": "string" }, "topics": { "items": { "items": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "type": "array" }, "type": "array" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "ethtypes.EthFilterID", "description": "ethtypes.EthFilterID", "summary": "", "schema": { "examples": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 32, "minItems": 32, "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1966" } }, { "name": "Filecoin.EthNewPendingTransactionFilter", "description": "```go\nfunc (s *FullNodeStruct) EthNewPendingTransactionFilter(p0 context.Context) (ethtypes.EthFilterID, error) {\n\tif s.Internal.EthNewPendingTransactionFilter == nil {\n\t\treturn *new(ethtypes.EthFilterID), ErrNotSupported\n\t}\n\treturn s.Internal.EthNewPendingTransactionFilter(p0)\n}\n```", "summary": "Installs a persistent filter to notify when new messages arrive in the message pool.\n", "paramStructure": "by-position", "params": [], "result": { "name": "ethtypes.EthFilterID", "description": "ethtypes.EthFilterID", "summary": "", "schema": { "examples": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 32, "minItems": 32, "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1977" } }, { "name": "Filecoin.EthProtocolVersion", "description": "```go\nfunc (s *FullNodeStruct) EthProtocolVersion(p0 context.Context) (ethtypes.EthUint64, error) {\n\tif s.Internal.EthProtocolVersion == nil {\n\t\treturn *new(ethtypes.EthUint64), ErrNotSupported\n\t}\n\treturn s.Internal.EthProtocolVersion(p0)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [], "result": { "name": "ethtypes.EthUint64", "description": "ethtypes.EthUint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ "0x5" ], "type": [ "number" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1988" } }, { "name": "Filecoin.EthSendRawTransaction", "description": "```go\nfunc (s *FullNodeStruct) EthSendRawTransaction(p0 context.Context, p1 ethtypes.EthBytes) (ethtypes.EthHash, error) {\n\tif s.Internal.EthSendRawTransaction == nil {\n\t\treturn *new(ethtypes.EthHash), ErrNotSupported\n\t}\n\treturn s.Internal.EthSendRawTransaction(p0, p1)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "ethtypes.EthBytes", "summary": "", "schema": { "examples": [ "0x07" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "ethtypes.EthHash", "description": "ethtypes.EthHash", "summary": "", "schema": { "examples": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 32, "minItems": 32, "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L1999" } }, { "name": "Filecoin.EthSubscribe", "description": "```go\nfunc (s *FullNodeStruct) EthSubscribe(p0 context.Context, p1 jsonrpc.RawParams) (ethtypes.EthSubscriptionID, error) {\n\tif s.Internal.EthSubscribe == nil {\n\t\treturn *new(ethtypes.EthSubscriptionID), ErrNotSupported\n\t}\n\treturn s.Internal.EthSubscribe(p0, p1)\n}\n```", "summary": "Subscribe to different event types using websockets\neventTypes is one or more of:\n - newHeads: notify when new blocks arrive.\n - pendingTransactions: notify when new messages arrive in the message pool.\n - logs: notify new event logs that match a criteria\nparams contains additional parameters used with the log event type\nThe client will receive a stream of EthSubscriptionResponse values until EthUnsubscribe is called.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "jsonrpc.RawParams", "summary": "", "schema": { "examples": [ "Bw==" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "ethtypes.EthSubscriptionID", "description": "ethtypes.EthSubscriptionID", "summary": "", "schema": { "examples": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 32, "minItems": 32, "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2010" } }, { "name": "Filecoin.EthSyncing", "description": "```go\nfunc (s *FullNodeStruct) EthSyncing(p0 context.Context) (ethtypes.EthSyncingResult, error) {\n\tif s.Internal.EthSyncing == nil {\n\t\treturn *new(ethtypes.EthSyncingResult), ErrNotSupported\n\t}\n\treturn s.Internal.EthSyncing(p0)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [], "result": { "name": "ethtypes.EthSyncingResult", "description": "ethtypes.EthSyncingResult", "summary": "", "schema": { "examples": [ false ], "additionalProperties": false, "properties": { "CurrentBlock": { "title": "number", "type": "number" }, "DoneSync": { "type": "boolean" }, "HighestBlock": { "title": "number", "type": "number" }, "StartingBlock": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2021" } }, { "name": "Filecoin.EthTraceBlock", "description": "```go\nfunc (s *FullNodeStruct) EthTraceBlock(p0 context.Context, p1 string) ([]*ethtypes.EthTraceBlock, error) {\n\tif s.Internal.EthTraceBlock == nil {\n\t\treturn *new([]*ethtypes.EthTraceBlock), ErrNotSupported\n\t}\n\treturn s.Internal.EthTraceBlock(p0, p1)\n}\n```", "summary": "Returns an OpenEthereum-compatible trace of the given block (implementing `trace_block`),\ntranslating Filecoin semantics into Ethereum semantics and tracing both EVM and FVM calls.\n\nFeatures:\n\n- FVM actor create events, calls, etc. show up as if they were EVM smart contract events.\n- Native FVM call inputs are ABI-encoded (Solidity ABI) as if they were calls to a\n `handle_filecoin_method(uint64 method, uint64 codec, bytes params)` function\n (where `codec` is the IPLD codec of `params`).\n- Native FVM call outputs (return values) are ABI-encoded as `(uint32 exit_code, uint64\n codec, bytes output)` where `codec` is the IPLD codec of `output`.\n\nLimitations (for now):\n\n1. Block rewards are not included in the trace.\n2. SELFDESTRUCT operations are not included in the trace.\n3. EVM smart contract \"create\" events always specify `0xfe` as the \"code\" for newly created EVM smart contracts.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "string", "summary": "", "schema": { "examples": [ "string value" ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]*ethtypes.EthTraceBlock", "description": "[]*ethtypes.EthTraceBlock", "summary": "", "schema": { "examples": [ [ { "type": "string value", "error": "string value", "subtraces": 123, "traceAddress": [ 123 ], "action": {}, "result": {}, "blockHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "blockNumber": 9, "transactionHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "transactionPosition": 123 } ] ], "items": [ { "additionalProperties": false, "properties": { "action": { "additionalProperties": true, "type": "object" }, "blockHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "blockNumber": { "title": "number", "type": "number" }, "error": { "type": "string" }, "result": { "additionalProperties": true, "type": "object" }, "subtraces": { "title": "number", "type": "number" }, "traceAddress": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "transactionHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "transactionPosition": { "title": "number", "type": "number" }, "type": { "type": "string" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2032" } }, { "name": "Filecoin.EthTraceReplayBlockTransactions", "description": "```go\nfunc (s *FullNodeStruct) EthTraceReplayBlockTransactions(p0 context.Context, p1 string, p2 []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error) {\n\tif s.Internal.EthTraceReplayBlockTransactions == nil {\n\t\treturn *new([]*ethtypes.EthTraceReplayBlockTransaction), ErrNotSupported\n\t}\n\treturn s.Internal.EthTraceReplayBlockTransactions(p0, p1, p2)\n}\n```", "summary": "Replays all transactions in a block returning the requested traces for each transaction\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "string", "summary": "", "schema": { "examples": [ "string value" ], "type": [ "string" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "[]string", "summary": "", "schema": { "examples": [ [ "string value" ] ], "items": [ { "type": [ "string" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]*ethtypes.EthTraceReplayBlockTransaction", "description": "[]*ethtypes.EthTraceReplayBlockTransaction", "summary": "", "schema": { "examples": [ [ { "output": "0x07", "stateDiff": "string value", "trace": [ { "type": "string value", "error": "string value", "subtraces": 123, "traceAddress": [ 123 ], "action": {}, "result": {} } ], "transactionHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "vmTrace": "string value" } ] ], "items": [ { "additionalProperties": false, "properties": { "output": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "stateDiff": { "type": "string" }, "trace": { "items": { "additionalProperties": false, "properties": { "action": { "additionalProperties": true, "type": "object" }, "error": { "type": "string" }, "result": { "additionalProperties": true, "type": "object" }, "subtraces": { "title": "number", "type": "number" }, "traceAddress": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "type": { "type": "string" } }, "type": "object" }, "type": "array" }, "transactionHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "vmTrace": { "type": "string" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2043" } }, { "name": "Filecoin.EthTraceTransaction", "description": "```go\nfunc (s *FullNodeStruct) EthTraceTransaction(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, error) {\n\tif s.Internal.EthTraceTransaction == nil {\n\t\treturn *new([]*ethtypes.EthTraceTransaction), ErrNotSupported\n\t}\n\treturn s.Internal.EthTraceTransaction(p0, p1)\n}\n```", "summary": "Implmements OpenEthereum-compatible API method trace_transaction\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "string", "summary": "", "schema": { "examples": [ "string value" ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]*ethtypes.EthTraceTransaction", "description": "[]*ethtypes.EthTraceTransaction", "summary": "", "schema": { "examples": [ [ { "type": "string value", "error": "string value", "subtraces": 123, "traceAddress": [ 123 ], "action": {}, "result": {}, "blockHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "blockNumber": 9, "transactionHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "transactionPosition": 123 } ] ], "items": [ { "additionalProperties": false, "properties": { "action": { "additionalProperties": true, "type": "object" }, "blockHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "blockNumber": { "title": "number", "type": "number" }, "error": { "type": "string" }, "result": { "additionalProperties": true, "type": "object" }, "subtraces": { "title": "number", "type": "number" }, "traceAddress": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "transactionHash": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 32, "minItems": 32, "type": "array" }, "transactionPosition": { "title": "number", "type": "number" }, "type": { "type": "string" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2054" } }, { "name": "Filecoin.EthUninstallFilter", "description": "```go\nfunc (s *FullNodeStruct) EthUninstallFilter(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error) {\n\tif s.Internal.EthUninstallFilter == nil {\n\t\treturn false, ErrNotSupported\n\t}\n\treturn s.Internal.EthUninstallFilter(p0, p1)\n}\n```", "summary": "Uninstalls a filter with given id.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "ethtypes.EthFilterID", "summary": "", "schema": { "examples": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 32, "minItems": 32, "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "bool", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2065" } }, { "name": "Filecoin.EthUnsubscribe", "description": "```go\nfunc (s *FullNodeStruct) EthUnsubscribe(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error) {\n\tif s.Internal.EthUnsubscribe == nil {\n\t\treturn false, ErrNotSupported\n\t}\n\treturn s.Internal.EthUnsubscribe(p0, p1)\n}\n```", "summary": "Unsubscribe from a websocket subscription\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "ethtypes.EthSubscriptionID", "summary": "", "schema": { "examples": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 32, "minItems": 32, "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "bool", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2076" } }, { "name": "Filecoin.FilecoinAddressToEthAddress", "description": "```go\nfunc (s *FullNodeStruct) FilecoinAddressToEthAddress(p0 context.Context, p1 address.Address) (ethtypes.EthAddress, error) {\n\tif s.Internal.FilecoinAddressToEthAddress == nil {\n\t\treturn *new(ethtypes.EthAddress), ErrNotSupported\n\t}\n\treturn s.Internal.FilecoinAddressToEthAddress(p0, p1)\n}\n```", "summary": "FilecoinAddressToEthAddress converts an f410 or f0 Filecoin Address to an EthAddress\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "ethtypes.EthAddress", "description": "ethtypes.EthAddress", "summary": "", "schema": { "examples": [ "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "maxItems": 20, "minItems": 20, "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2087" } }, { "name": "Filecoin.GasEstimateFeeCap", "description": "```go\nfunc (s *FullNodeStruct) GasEstimateFeeCap(p0 context.Context, p1 *types.Message, p2 int64, p3 types.TipSetKey) (types.BigInt, error) {\n\tif s.Internal.GasEstimateFeeCap == nil {\n\t\treturn *new(types.BigInt), ErrNotSupported\n\t}\n\treturn s.Internal.GasEstimateFeeCap(p0, p1, p2, p3)\n}\n```", "summary": "GasEstimateFeeCap estimates gas fee cap\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "*types.Message", "summary": "", "schema": { "examples": [ { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "int64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 9 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "types.BigInt", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2098" } }, { "name": "Filecoin.GasEstimateGasLimit", "description": "```go\nfunc (s *FullNodeStruct) GasEstimateGasLimit(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (int64, error) {\n\tif s.Internal.GasEstimateGasLimit == nil {\n\t\treturn 0, ErrNotSupported\n\t}\n\treturn s.Internal.GasEstimateGasLimit(p0, p1, p2)\n}\n```", "summary": "GasEstimateGasLimit estimates gas used by the message and returns it.\nIt fails if message fails to execute.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "*types.Message", "summary": "", "schema": { "examples": [ { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "int64", "description": "int64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 9 ], "type": [ "number" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2109" } }, { "name": "Filecoin.GasEstimateGasPremium", "description": "```go\nfunc (s *FullNodeStruct) GasEstimateGasPremium(p0 context.Context, p1 uint64, p2 address.Address, p3 int64, p4 types.TipSetKey) (types.BigInt, error) {\n\tif s.Internal.GasEstimateGasPremium == nil {\n\t\treturn *new(types.BigInt), ErrNotSupported\n\t}\n\treturn s.Internal.GasEstimateGasPremium(p0, p1, p2, p3, p4)\n}\n```", "summary": "GasEstimateGasPremium estimates what gas price should be used for a\nmessage to have high likelihood of inclusion in `nblocksincl` epochs.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "uint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 42 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "int64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 9 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "types.BigInt", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2120" } }, { "name": "Filecoin.GasEstimateMessageGas", "description": "```go\nfunc (s *FullNodeStruct) GasEstimateMessageGas(p0 context.Context, p1 *types.Message, p2 *MessageSendSpec, p3 types.TipSetKey) (*types.Message, error) {\n\tif s.Internal.GasEstimateMessageGas == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.GasEstimateMessageGas(p0, p1, p2, p3)\n}\n```", "summary": "GasEstimateMessageGas estimates gas values for unset message gas fields\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "*types.Message", "summary": "", "schema": { "examples": [ { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "*MessageSendSpec", "summary": "", "schema": { "examples": [ { "MaxFee": "0", "MsgUuid": "07070707-0707-0707-0707-070707070707", "MaximizeFeeCap": true } ], "additionalProperties": false, "properties": { "MaxFee": { "additionalProperties": false, "type": "object" }, "MaximizeFeeCap": { "type": "boolean" }, "MsgUuid": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 16, "minItems": 16, "type": "array" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*types.Message", "description": "*types.Message", "summary": "", "schema": { "examples": [ { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2131" } }, { "name": "Filecoin.GetActorEventsRaw", "description": "```go\nfunc (s *FullNodeStruct) GetActorEventsRaw(p0 context.Context, p1 *types.ActorEventFilter) ([]*types.ActorEvent, error) {\n\tif s.Internal.GetActorEventsRaw == nil {\n\t\treturn *new([]*types.ActorEvent), ErrNotSupported\n\t}\n\treturn s.Internal.GetActorEventsRaw(p0, p1)\n}\n```", "summary": "GetActorEventsRaw returns all user-programmed and built-in actor events that match the given\nfilter.\nThis is a request/response API.\nResults available from this API may be limited by the MaxFilterResults and MaxFilterHeightRange\nconfiguration options and also the amount of historical data available in the node.\n\nThis is an EXPERIMENTAL API and may be subject to change.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "*types.ActorEventFilter", "summary": "", "schema": { "examples": [ { "addresses": [ "f01234" ], "fields": { "abc": [ { "codec": 81, "value": "ZGRhdGE=" } ] }, "fromHeight": 1010, "toHeight": 1020 } ], "additionalProperties": false, "properties": { "addresses": { "items": { "additionalProperties": false, "type": "object" }, "type": "array" }, "fields": { "patternProperties": { ".*": { "items": { "additionalProperties": false, "properties": { "codec": { "title": "number", "type": "number" }, "value": { "media": { "binaryEncoding": "base64" }, "type": "string" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "fromHeight": { "title": "number", "type": "number" }, "tipsetKey": { "additionalProperties": false, "type": "object" }, "toHeight": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]*types.ActorEvent", "description": "[]*types.ActorEvent", "summary": "", "schema": { "examples": [ [ { "entries": [ { "Flags": 7, "Key": "string value", "Codec": 42, "Value": "Ynl0ZSBhcnJheQ==" } ], "emitter": "f01234", "reverted": true, "height": 10101, "tipsetKey": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ], "msgCid": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } } ] ], "items": [ { "additionalProperties": false, "properties": { "emitter": { "additionalProperties": false, "type": "object" }, "entries": { "items": { "additionalProperties": false, "properties": { "Codec": { "title": "number", "type": "number" }, "Flags": { "title": "number", "type": "number" }, "Key": { "type": "string" }, "Value": { "media": { "binaryEncoding": "base64" }, "type": "string" } }, "type": "object" }, "type": "array" }, "height": { "title": "number", "type": "number" }, "msgCid": { "title": "Content Identifier", "type": "string" }, "reverted": { "type": "boolean" }, "tipsetKey": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2142" } }, { "name": "Filecoin.MarketAddBalance", "description": "```go\nfunc (s *FullNodeStruct) MarketAddBalance(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (cid.Cid, error) {\n\tif s.Internal.MarketAddBalance == nil {\n\t\treturn *new(cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.MarketAddBalance(p0, p1, p2, p3)\n}\n```", "summary": "MarketAddBalance adds funds to the market actor\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "cid.Cid", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2153" } }, { "name": "Filecoin.MarketGetReserved", "description": "```go\nfunc (s *FullNodeStruct) MarketGetReserved(p0 context.Context, p1 address.Address) (types.BigInt, error) {\n\tif s.Internal.MarketGetReserved == nil {\n\t\treturn *new(types.BigInt), ErrNotSupported\n\t}\n\treturn s.Internal.MarketGetReserved(p0, p1)\n}\n```", "summary": "MarketGetReserved gets the amount of funds that are currently reserved for the address\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "types.BigInt", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2164" } }, { "name": "Filecoin.MarketReleaseFunds", "description": "```go\nfunc (s *FullNodeStruct) MarketReleaseFunds(p0 context.Context, p1 address.Address, p2 types.BigInt) error {\n\tif s.Internal.MarketReleaseFunds == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.MarketReleaseFunds(p0, p1, p2)\n}\n```", "summary": "MarketReleaseFunds releases funds reserved by MarketReserveFunds\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "Null", "description": "Null", "schema": { "type": [ "null" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2175" } }, { "name": "Filecoin.MarketReserveFunds", "description": "```go\nfunc (s *FullNodeStruct) MarketReserveFunds(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (cid.Cid, error) {\n\tif s.Internal.MarketReserveFunds == nil {\n\t\treturn *new(cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.MarketReserveFunds(p0, p1, p2, p3)\n}\n```", "summary": "MarketReserveFunds reserves funds for a deal\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "cid.Cid", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2186" } }, { "name": "Filecoin.MarketWithdraw", "description": "```go\nfunc (s *FullNodeStruct) MarketWithdraw(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (cid.Cid, error) {\n\tif s.Internal.MarketWithdraw == nil {\n\t\treturn *new(cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.MarketWithdraw(p0, p1, p2, p3)\n}\n```", "summary": "MarketWithdraw withdraws unlocked funds from the market actor\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "cid.Cid", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2197" } }, { "name": "Filecoin.MinerCreateBlock", "description": "```go\nfunc (s *FullNodeStruct) MinerCreateBlock(p0 context.Context, p1 *BlockTemplate) (*types.BlockMsg, error) {\n\tif s.Internal.MinerCreateBlock == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MinerCreateBlock(p0, p1)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "*BlockTemplate", "summary": "", "schema": { "examples": [ { "Miner": "f01234", "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ], "Ticket": { "VRFProof": "Ynl0ZSBhcnJheQ==" }, "Eproof": { "WinCount": 9, "VRFProof": "Ynl0ZSBhcnJheQ==" }, "BeaconValues": [ { "Round": 42, "Data": "Ynl0ZSBhcnJheQ==" } ], "Messages": [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], "Epoch": 10101, "Timestamp": 42, "WinningPoStProof": [ { "PoStProof": 8, "ProofBytes": "Ynl0ZSBhcnJheQ==" } ] } ], "additionalProperties": false, "properties": { "BeaconValues": { "items": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Round": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "Epoch": { "title": "number", "type": "number" }, "Eproof": { "additionalProperties": false, "properties": { "VRFProof": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "WinCount": { "title": "number", "type": "number" } }, "type": "object" }, "Messages": { "items": { "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "Signature": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" } }, "type": "object" }, "type": "array" }, "Miner": { "additionalProperties": false, "type": "object" }, "Parents": { "additionalProperties": false, "type": "object" }, "Ticket": { "additionalProperties": false, "properties": { "VRFProof": { "media": { "binaryEncoding": "base64" }, "type": "string" } }, "type": "object" }, "Timestamp": { "title": "number", "type": "number" }, "WinningPoStProof": { "items": { "additionalProperties": false, "properties": { "PoStProof": { "title": "number", "type": "number" }, "ProofBytes": { "media": { "binaryEncoding": "base64" }, "type": "string" } }, "type": "object" }, "type": "array" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*types.BlockMsg", "description": "*types.BlockMsg", "summary": "", "schema": { "examples": [ { "Header": { "Miner": "f01234", "Ticket": { "VRFProof": "Ynl0ZSBhcnJheQ==" }, "ElectionProof": { "WinCount": 9, "VRFProof": "Ynl0ZSBhcnJheQ==" }, "BeaconEntries": [ { "Round": 42, "Data": "Ynl0ZSBhcnJheQ==" } ], "WinPoStProof": [ { "PoStProof": 8, "ProofBytes": "Ynl0ZSBhcnJheQ==" } ], "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "ParentWeight": "0", "Height": 10101, "ParentStateRoot": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "ParentMessageReceipts": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Messages": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "BLSAggregate": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" }, "Timestamp": 42, "BlockSig": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" }, "ForkSignaling": 42, "ParentBaseFee": "0" }, "BlsMessages": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "SecpkMessages": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ] } ], "additionalProperties": false, "properties": { "BlsMessages": { "items": { "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "title": "Content Identifier", "type": "string" }, "type": "array" }, "Header": { "additionalProperties": false, "properties": { "BLSAggregate": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" }, "BeaconEntries": { "items": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Round": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "BlockSig": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" }, "ElectionProof": { "additionalProperties": false, "properties": { "VRFProof": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "WinCount": { "title": "number", "type": "number" } }, "type": "object" }, "ForkSignaling": { "title": "number", "type": "number" }, "Height": { "title": "number", "type": "number" }, "Messages": { "title": "Content Identifier", "type": "string" }, "Miner": { "additionalProperties": false, "type": "object" }, "ParentBaseFee": { "additionalProperties": false, "type": "object" }, "ParentMessageReceipts": { "title": "Content Identifier", "type": "string" }, "ParentStateRoot": { "title": "Content Identifier", "type": "string" }, "ParentWeight": { "additionalProperties": false, "type": "object" }, "Parents": { "items": { "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "title": "Content Identifier", "type": "string" }, "type": "array" }, "Ticket": { "additionalProperties": false, "properties": { "VRFProof": { "media": { "binaryEncoding": "base64" }, "type": "string" } }, "type": "object" }, "Timestamp": { "title": "number", "type": "number" }, "WinPoStProof": { "items": { "additionalProperties": false, "properties": { "PoStProof": { "title": "number", "type": "number" }, "ProofBytes": { "media": { "binaryEncoding": "base64" }, "type": "string" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "SecpkMessages": { "items": { "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "title": "Content Identifier", "type": "string" }, "type": "array" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2208" } }, { "name": "Filecoin.MinerGetBaseInfo", "description": "```go\nfunc (s *FullNodeStruct) MinerGetBaseInfo(p0 context.Context, p1 address.Address, p2 abi.ChainEpoch, p3 types.TipSetKey) (*MiningBaseInfo, error) {\n\tif s.Internal.MinerGetBaseInfo == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MinerGetBaseInfo(p0, p1, p2, p3)\n}\n```", "summary": "There are not yet any comments for this method.", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "abi.ChainEpoch", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 10101 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*MiningBaseInfo", "description": "*MiningBaseInfo", "summary": "", "schema": { "examples": [ { "MinerPower": "0", "NetworkPower": "0", "Sectors": [ { "SealProof": 8, "SectorNumber": 9, "SectorKey": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "SealedCID": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } } ], "WorkerKey": "f01234", "SectorSize": 34359738368, "PrevBeaconEntry": { "Round": 42, "Data": "Ynl0ZSBhcnJheQ==" }, "BeaconEntries": [ { "Round": 42, "Data": "Ynl0ZSBhcnJheQ==" } ], "EligibleForMining": true } ], "additionalProperties": false, "properties": { "BeaconEntries": { "items": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Round": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "EligibleForMining": { "type": "boolean" }, "MinerPower": { "additionalProperties": false, "type": "object" }, "NetworkPower": { "additionalProperties": false, "type": "object" }, "PrevBeaconEntry": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Round": { "title": "number", "type": "number" } }, "type": "object" }, "SectorSize": { "title": "number", "type": "number" }, "Sectors": { "items": { "additionalProperties": false, "properties": { "SealProof": { "title": "number", "type": "number" }, "SealedCID": { "title": "Content Identifier", "type": "string" }, "SectorKey": { "title": "Content Identifier", "type": "string" }, "SectorNumber": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "WorkerKey": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2219" } }, { "name": "Filecoin.MpoolBatchPush", "description": "```go\nfunc (s *FullNodeStruct) MpoolBatchPush(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error) {\n\tif s.Internal.MpoolBatchPush == nil {\n\t\treturn *new([]cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.MpoolBatchPush(p0, p1)\n}\n```", "summary": "MpoolBatchPush batch pushes a signed message to mempool.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "[]*types.SignedMessage", "summary": "", "schema": { "examples": [ [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] ], "items": [ { "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "Signature": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]cid.Cid", "description": "[]cid.Cid", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ] ], "items": [ { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "type": [ "string" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2230" } }, { "name": "Filecoin.MpoolBatchPushMessage", "description": "```go\nfunc (s *FullNodeStruct) MpoolBatchPushMessage(p0 context.Context, p1 []*types.Message, p2 *MessageSendSpec) ([]*types.SignedMessage, error) {\n\tif s.Internal.MpoolBatchPushMessage == nil {\n\t\treturn *new([]*types.SignedMessage), ErrNotSupported\n\t}\n\treturn s.Internal.MpoolBatchPushMessage(p0, p1, p2)\n}\n```", "summary": "MpoolBatchPushMessage batch pushes a unsigned message to mempool.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "[]*types.Message", "summary": "", "schema": { "examples": [ [ { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] ], "items": [ { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "*MessageSendSpec", "summary": "", "schema": { "examples": [ { "MaxFee": "0", "MsgUuid": "07070707-0707-0707-0707-070707070707", "MaximizeFeeCap": true } ], "additionalProperties": false, "properties": { "MaxFee": { "additionalProperties": false, "type": "object" }, "MaximizeFeeCap": { "type": "boolean" }, "MsgUuid": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 16, "minItems": 16, "type": "array" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]*types.SignedMessage", "description": "[]*types.SignedMessage", "summary": "", "schema": { "examples": [ [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] ], "items": [ { "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "Signature": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2241" } }, { "name": "Filecoin.MpoolBatchPushUntrusted", "description": "```go\nfunc (s *FullNodeStruct) MpoolBatchPushUntrusted(p0 context.Context, p1 []*types.SignedMessage) ([]cid.Cid, error) {\n\tif s.Internal.MpoolBatchPushUntrusted == nil {\n\t\treturn *new([]cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.MpoolBatchPushUntrusted(p0, p1)\n}\n```", "summary": "MpoolBatchPushUntrusted batch pushes a signed message to mempool from untrusted sources.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "[]*types.SignedMessage", "summary": "", "schema": { "examples": [ [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] ], "items": [ { "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "Signature": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]cid.Cid", "description": "[]cid.Cid", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ] ], "items": [ { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "type": [ "string" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2252" } }, { "name": "Filecoin.MpoolCheckMessages", "description": "```go\nfunc (s *FullNodeStruct) MpoolCheckMessages(p0 context.Context, p1 []*MessagePrototype) ([][]MessageCheckStatus, error) {\n\tif s.Internal.MpoolCheckMessages == nil {\n\t\treturn *new([][]MessageCheckStatus), ErrNotSupported\n\t}\n\treturn s.Internal.MpoolCheckMessages(p0, p1)\n}\n```", "summary": "MpoolCheckMessages performs logical checks on a batch of messages\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "[]*MessagePrototype", "summary": "", "schema": { "examples": [ [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "ValidNonce": true } ] ], "items": [ { "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "ValidNonce": { "type": "boolean" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "[][]MessageCheckStatus", "description": "[][]MessageCheckStatus", "summary": "", "schema": { "examples": [ [ [ { "Cid": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Code": 0, "OK": true, "Err": "string value", "Hint": { "abc": 123 } } ] ] ], "items": [ { "items": [ { "additionalProperties": false, "properties": { "Cid": { "title": "Content Identifier", "type": "string" }, "Code": { "title": "number", "type": "number" }, "Err": { "type": "string" }, "Hint": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "OK": { "type": "boolean" } }, "type": [ "object" ] } ], "type": [ "array" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2263" } }, { "name": "Filecoin.MpoolCheckPendingMessages", "description": "```go\nfunc (s *FullNodeStruct) MpoolCheckPendingMessages(p0 context.Context, p1 address.Address) ([][]MessageCheckStatus, error) {\n\tif s.Internal.MpoolCheckPendingMessages == nil {\n\t\treturn *new([][]MessageCheckStatus), ErrNotSupported\n\t}\n\treturn s.Internal.MpoolCheckPendingMessages(p0, p1)\n}\n```", "summary": "MpoolCheckPendingMessages performs logical checks for all pending messages from a given address\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "[][]MessageCheckStatus", "description": "[][]MessageCheckStatus", "summary": "", "schema": { "examples": [ [ [ { "Cid": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Code": 0, "OK": true, "Err": "string value", "Hint": { "abc": 123 } } ] ] ], "items": [ { "items": [ { "additionalProperties": false, "properties": { "Cid": { "title": "Content Identifier", "type": "string" }, "Code": { "title": "number", "type": "number" }, "Err": { "type": "string" }, "Hint": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "OK": { "type": "boolean" } }, "type": [ "object" ] } ], "type": [ "array" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2274" } }, { "name": "Filecoin.MpoolCheckReplaceMessages", "description": "```go\nfunc (s *FullNodeStruct) MpoolCheckReplaceMessages(p0 context.Context, p1 []*types.Message) ([][]MessageCheckStatus, error) {\n\tif s.Internal.MpoolCheckReplaceMessages == nil {\n\t\treturn *new([][]MessageCheckStatus), ErrNotSupported\n\t}\n\treturn s.Internal.MpoolCheckReplaceMessages(p0, p1)\n}\n```", "summary": "MpoolCheckReplaceMessages performs logical checks on pending messages with replacement\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "[]*types.Message", "summary": "", "schema": { "examples": [ [ { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] ], "items": [ { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "[][]MessageCheckStatus", "description": "[][]MessageCheckStatus", "summary": "", "schema": { "examples": [ [ [ { "Cid": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Code": 0, "OK": true, "Err": "string value", "Hint": { "abc": 123 } } ] ] ], "items": [ { "items": [ { "additionalProperties": false, "properties": { "Cid": { "title": "Content Identifier", "type": "string" }, "Code": { "title": "number", "type": "number" }, "Err": { "type": "string" }, "Hint": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "OK": { "type": "boolean" } }, "type": [ "object" ] } ], "type": [ "array" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2285" } }, { "name": "Filecoin.MpoolClear", "description": "```go\nfunc (s *FullNodeStruct) MpoolClear(p0 context.Context, p1 bool) error {\n\tif s.Internal.MpoolClear == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.MpoolClear(p0, p1)\n}\n```", "summary": "MpoolClear clears pending messages from the mpool.\nIf clearLocal is true, ALL messages will be cleared.\nIf clearLocal is false, local messages will be protected, all others will be cleared.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false } ], "result": { "name": "Null", "description": "Null", "schema": { "type": [ "null" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2296" } }, { "name": "Filecoin.MpoolGetConfig", "description": "```go\nfunc (s *FullNodeStruct) MpoolGetConfig(p0 context.Context) (*types.MpoolConfig, error) {\n\tif s.Internal.MpoolGetConfig == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MpoolGetConfig(p0)\n}\n```", "summary": "MpoolGetConfig returns (a copy of) the current mpool config\n", "paramStructure": "by-position", "params": [], "result": { "name": "*types.MpoolConfig", "description": "*types.MpoolConfig", "summary": "", "schema": { "examples": [ { "PriorityAddrs": [ "f01234" ], "SizeLimitHigh": 123, "SizeLimitLow": 123, "ReplaceByFeeRatio": 1.23, "PruneCooldown": 60000000000, "GasLimitOverestimation": 12.3 } ], "additionalProperties": false, "properties": { "GasLimitOverestimation": { "type": "number" }, "PriorityAddrs": { "items": { "additionalProperties": false, "type": "object" }, "type": "array" }, "PruneCooldown": { "title": "number", "type": "number" }, "ReplaceByFeeRatio": { "title": "number", "type": "number" }, "SizeLimitHigh": { "title": "number", "type": "number" }, "SizeLimitLow": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2307" } }, { "name": "Filecoin.MpoolGetNonce", "description": "```go\nfunc (s *FullNodeStruct) MpoolGetNonce(p0 context.Context, p1 address.Address) (uint64, error) {\n\tif s.Internal.MpoolGetNonce == nil {\n\t\treturn 0, ErrNotSupported\n\t}\n\treturn s.Internal.MpoolGetNonce(p0, p1)\n}\n```", "summary": "MpoolGetNonce gets next nonce for the specified sender.\nNote that this method may not be atomic. Use MpoolPushMessage instead.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "uint64", "description": "uint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 42 ], "type": [ "number" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2318" } }, { "name": "Filecoin.MpoolPending", "description": "```go\nfunc (s *FullNodeStruct) MpoolPending(p0 context.Context, p1 types.TipSetKey) ([]*types.SignedMessage, error) {\n\tif s.Internal.MpoolPending == nil {\n\t\treturn *new([]*types.SignedMessage), ErrNotSupported\n\t}\n\treturn s.Internal.MpoolPending(p0, p1)\n}\n```", "summary": "MpoolPending returns pending mempool messages.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]*types.SignedMessage", "description": "[]*types.SignedMessage", "summary": "", "schema": { "examples": [ [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] ], "items": [ { "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "Signature": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2329" } }, { "name": "Filecoin.MpoolPush", "description": "```go\nfunc (s *FullNodeStruct) MpoolPush(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error) {\n\tif s.Internal.MpoolPush == nil {\n\t\treturn *new(cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.MpoolPush(p0, p1)\n}\n```", "summary": "MpoolPush pushes a signed message to mempool.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "*types.SignedMessage", "summary": "", "schema": { "examples": [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "Signature": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "cid.Cid", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2340" } }, { "name": "Filecoin.MpoolPushMessage", "description": "```go\nfunc (s *FullNodeStruct) MpoolPushMessage(p0 context.Context, p1 *types.Message, p2 *MessageSendSpec) (*types.SignedMessage, error) {\n\tif s.Internal.MpoolPushMessage == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MpoolPushMessage(p0, p1, p2)\n}\n```", "summary": "MpoolPushMessage atomically assigns a nonce, signs, and pushes a message\nto mempool.\nmaxFee is only used when GasFeeCap/GasPremium fields aren't specified\n\nWhen maxFee is set to 0, MpoolPushMessage will guess appropriate fee\nbased on current chain conditions\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "*types.Message", "summary": "", "schema": { "examples": [ { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "*MessageSendSpec", "summary": "", "schema": { "examples": [ { "MaxFee": "0", "MsgUuid": "07070707-0707-0707-0707-070707070707", "MaximizeFeeCap": true } ], "additionalProperties": false, "properties": { "MaxFee": { "additionalProperties": false, "type": "object" }, "MaximizeFeeCap": { "type": "boolean" }, "MsgUuid": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "maxItems": 16, "minItems": 16, "type": "array" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*types.SignedMessage", "description": "*types.SignedMessage", "summary": "", "schema": { "examples": [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "Signature": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2351" } }, { "name": "Filecoin.MpoolPushUntrusted", "description": "```go\nfunc (s *FullNodeStruct) MpoolPushUntrusted(p0 context.Context, p1 *types.SignedMessage) (cid.Cid, error) {\n\tif s.Internal.MpoolPushUntrusted == nil {\n\t\treturn *new(cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.MpoolPushUntrusted(p0, p1)\n}\n```", "summary": "MpoolPushUntrusted pushes a signed message to mempool from untrusted sources.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "*types.SignedMessage", "summary": "", "schema": { "examples": [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "Signature": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "cid.Cid", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2362" } }, { "name": "Filecoin.MpoolSelect", "description": "```go\nfunc (s *FullNodeStruct) MpoolSelect(p0 context.Context, p1 types.TipSetKey, p2 float64) ([]*types.SignedMessage, error) {\n\tif s.Internal.MpoolSelect == nil {\n\t\treturn *new([]*types.SignedMessage), ErrNotSupported\n\t}\n\treturn s.Internal.MpoolSelect(p0, p1, p2)\n}\n```", "summary": "MpoolSelect returns a list of pending messages for inclusion in the next block\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "float64", "summary": "", "schema": { "examples": [ 12.3 ], "type": [ "number" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]*types.SignedMessage", "description": "[]*types.SignedMessage", "summary": "", "schema": { "examples": [ [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] ], "items": [ { "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "Signature": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2373" } }, { "name": "Filecoin.MpoolSetConfig", "description": "```go\nfunc (s *FullNodeStruct) MpoolSetConfig(p0 context.Context, p1 *types.MpoolConfig) error {\n\tif s.Internal.MpoolSetConfig == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.MpoolSetConfig(p0, p1)\n}\n```", "summary": "MpoolSetConfig sets the mpool config to (a copy of) the supplied config\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "*types.MpoolConfig", "summary": "", "schema": { "examples": [ { "PriorityAddrs": [ "f01234" ], "SizeLimitHigh": 123, "SizeLimitLow": 123, "ReplaceByFeeRatio": 1.23, "PruneCooldown": 60000000000, "GasLimitOverestimation": 12.3 } ], "additionalProperties": false, "properties": { "GasLimitOverestimation": { "type": "number" }, "PriorityAddrs": { "items": { "additionalProperties": false, "type": "object" }, "type": "array" }, "PruneCooldown": { "title": "number", "type": "number" }, "ReplaceByFeeRatio": { "title": "number", "type": "number" }, "SizeLimitHigh": { "title": "number", "type": "number" }, "SizeLimitLow": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "Null", "description": "Null", "schema": { "type": [ "null" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2384" } }, { "name": "Filecoin.MsigAddApprove", "description": "```go\nfunc (s *FullNodeStruct) MsigAddApprove(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address, p6 bool) (*MessagePrototype, error) {\n\tif s.Internal.MsigAddApprove == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MsigAddApprove(p0, p1, p2, p3, p4, p5, p6)\n}\n```", "summary": "MsigAddApprove approves a previously proposed AddSigner message\nIt takes the following params: \u003cmultisig address\u003e, \u003csender address of the approve msg\u003e, \u003cproposed message ID\u003e,\n\u003cproposer address\u003e, \u003cnew signer\u003e, \u003cwhether the number of required signers should be increased\u003e\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "uint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 42 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p5", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p6", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false } ], "result": { "name": "*MessagePrototype", "description": "*MessagePrototype", "summary": "", "schema": { "examples": [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "ValidNonce": true } ], "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "ValidNonce": { "type": "boolean" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2406" } }, { "name": "Filecoin.MsigAddCancel", "description": "```go\nfunc (s *FullNodeStruct) MsigAddCancel(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 bool) (*MessagePrototype, error) {\n\tif s.Internal.MsigAddCancel == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MsigAddCancel(p0, p1, p2, p3, p4, p5)\n}\n```", "summary": "MsigAddCancel cancels a previously proposed AddSigner message\nIt takes the following params: \u003cmultisig address\u003e, \u003csender address of the cancel msg\u003e, \u003cproposed message ID\u003e,\n\u003cnew signer\u003e, \u003cwhether the number of required signers should be increased\u003e\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "uint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 42 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p5", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false } ], "result": { "name": "*MessagePrototype", "description": "*MessagePrototype", "summary": "", "schema": { "examples": [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "ValidNonce": true } ], "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "ValidNonce": { "type": "boolean" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2417" } }, { "name": "Filecoin.MsigAddPropose", "description": "```go\nfunc (s *FullNodeStruct) MsigAddPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 bool) (*MessagePrototype, error) {\n\tif s.Internal.MsigAddPropose == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MsigAddPropose(p0, p1, p2, p3, p4)\n}\n```", "summary": "MsigAddPropose proposes adding a signer in the multisig\nIt takes the following params: \u003cmultisig address\u003e, \u003csender address of the propose msg\u003e,\n\u003cnew signer\u003e, \u003cwhether the number of required signers should be increased\u003e\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false } ], "result": { "name": "*MessagePrototype", "description": "*MessagePrototype", "summary": "", "schema": { "examples": [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "ValidNonce": true } ], "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "ValidNonce": { "type": "boolean" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2428" } }, { "name": "Filecoin.MsigApprove", "description": "```go\nfunc (s *FullNodeStruct) MsigApprove(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*MessagePrototype, error) {\n\tif s.Internal.MsigApprove == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MsigApprove(p0, p1, p2, p3)\n}\n```", "summary": "MsigApprove approves a previously-proposed multisig message by transaction ID\nIt takes the following params: \u003cmultisig address\u003e, \u003cproposed transaction ID\u003e \u003csigner address\u003e\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "uint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 42 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*MessagePrototype", "description": "*MessagePrototype", "summary": "", "schema": { "examples": [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "ValidNonce": true } ], "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "ValidNonce": { "type": "boolean" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2439" } }, { "name": "Filecoin.MsigApproveTxnHash", "description": "```go\nfunc (s *FullNodeStruct) MsigApproveTxnHash(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address, p4 address.Address, p5 types.BigInt, p6 address.Address, p7 uint64, p8 []byte) (*MessagePrototype, error) {\n\tif s.Internal.MsigApproveTxnHash == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MsigApproveTxnHash(p0, p1, p2, p3, p4, p5, p6, p7, p8)\n}\n```", "summary": "MsigApproveTxnHash approves a previously-proposed multisig message, specified\nusing both transaction ID and a hash of the parameters used in the\nproposal. This method of approval can be used to ensure you only approve\nexactly the transaction you think you are.\nIt takes the following params: \u003cmultisig address\u003e, \u003cproposed message ID\u003e, \u003cproposer address\u003e, \u003crecipient address\u003e, \u003cvalue to transfer\u003e,\n\u003csender address of the approve msg\u003e, \u003cmethod to call in the proposed message\u003e, \u003cparams to include in the proposed message\u003e\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "uint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 42 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p5", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p6", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p7", "description": "uint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 42 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p8", "description": "[]byte", "summary": "", "schema": { "examples": [ "Ynl0ZSBhcnJheQ==" ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "*MessagePrototype", "description": "*MessagePrototype", "summary": "", "schema": { "examples": [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "ValidNonce": true } ], "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "ValidNonce": { "type": "boolean" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2450" } }, { "name": "Filecoin.MsigCancel", "description": "```go\nfunc (s *FullNodeStruct) MsigCancel(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address) (*MessagePrototype, error) {\n\tif s.Internal.MsigCancel == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MsigCancel(p0, p1, p2, p3)\n}\n```", "summary": "MsigCancel cancels a previously-proposed multisig message\nIt takes the following params: \u003cmultisig address\u003e, \u003cproposed transaction ID\u003e \u003csigner address\u003e\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "uint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 42 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*MessagePrototype", "description": "*MessagePrototype", "summary": "", "schema": { "examples": [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "ValidNonce": true } ], "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "ValidNonce": { "type": "boolean" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2461" } }, { "name": "Filecoin.MsigCancelTxnHash", "description": "```go\nfunc (s *FullNodeStruct) MsigCancelTxnHash(p0 context.Context, p1 address.Address, p2 uint64, p3 address.Address, p4 types.BigInt, p5 address.Address, p6 uint64, p7 []byte) (*MessagePrototype, error) {\n\tif s.Internal.MsigCancelTxnHash == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MsigCancelTxnHash(p0, p1, p2, p3, p4, p5, p6, p7)\n}\n```", "summary": "MsigCancel cancels a previously-proposed multisig message\nIt takes the following params: \u003cmultisig address\u003e, \u003cproposed transaction ID\u003e, \u003crecipient address\u003e, \u003cvalue to transfer\u003e,\n\u003csender address of the cancel msg\u003e, \u003cmethod to call in the proposed message\u003e, \u003cparams to include in the proposed message\u003e\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "uint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 42 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p5", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p6", "description": "uint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 42 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p7", "description": "[]byte", "summary": "", "schema": { "examples": [ "Ynl0ZSBhcnJheQ==" ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "*MessagePrototype", "description": "*MessagePrototype", "summary": "", "schema": { "examples": [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "ValidNonce": true } ], "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "ValidNonce": { "type": "boolean" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2472" } }, { "name": "Filecoin.MsigCreate", "description": "```go\nfunc (s *FullNodeStruct) MsigCreate(p0 context.Context, p1 uint64, p2 []address.Address, p3 abi.ChainEpoch, p4 types.BigInt, p5 address.Address, p6 types.BigInt) (*MessagePrototype, error) {\n\tif s.Internal.MsigCreate == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MsigCreate(p0, p1, p2, p3, p4, p5, p6)\n}\n```", "summary": "MsigCreate creates a multisig wallet\nIt takes the following params: \u003crequired number of senders\u003e, \u003capproving addresses\u003e, \u003cunlock duration\u003e\n\u003cinitial balance\u003e, \u003csender address of the create msg\u003e, \u003cgas price\u003e\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "uint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 42 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "[]address.Address", "summary": "", "schema": { "examples": [ [ "f01234" ] ], "items": [ { "additionalProperties": false, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "abi.ChainEpoch", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 10101 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p5", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p6", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*MessagePrototype", "description": "*MessagePrototype", "summary": "", "schema": { "examples": [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "ValidNonce": true } ], "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "ValidNonce": { "type": "boolean" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2483" } }, { "name": "Filecoin.MsigGetAvailableBalance", "description": "```go\nfunc (s *FullNodeStruct) MsigGetAvailableBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (types.BigInt, error) {\n\tif s.Internal.MsigGetAvailableBalance == nil {\n\t\treturn *new(types.BigInt), ErrNotSupported\n\t}\n\treturn s.Internal.MsigGetAvailableBalance(p0, p1, p2)\n}\n```", "summary": "MsigGetAvailableBalance returns the portion of a multisig's balance that can be withdrawn or spent\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "types.BigInt", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2494" } }, { "name": "Filecoin.MsigGetPending", "description": "```go\nfunc (s *FullNodeStruct) MsigGetPending(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*MsigTransaction, error) {\n\tif s.Internal.MsigGetPending == nil {\n\t\treturn *new([]*MsigTransaction), ErrNotSupported\n\t}\n\treturn s.Internal.MsigGetPending(p0, p1, p2)\n}\n```", "summary": "MsigGetPending returns pending transactions for the given multisig\nwallet. Once pending transactions are fully approved, they will no longer\nappear here.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]*MsigTransaction", "description": "[]*MsigTransaction", "summary": "", "schema": { "examples": [ [ { "ID": 9, "To": "f01234", "Value": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "Approved": [ "f01234" ] } ] ], "items": [ { "additionalProperties": false, "properties": { "Approved": { "items": { "additionalProperties": false, "type": "object" }, "type": "array" }, "ID": { "title": "number", "type": "number" }, "Method": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2505" } }, { "name": "Filecoin.MsigGetVested", "description": "```go\nfunc (s *FullNodeStruct) MsigGetVested(p0 context.Context, p1 address.Address, p2 types.TipSetKey, p3 types.TipSetKey) (types.BigInt, error) {\n\tif s.Internal.MsigGetVested == nil {\n\t\treturn *new(types.BigInt), ErrNotSupported\n\t}\n\treturn s.Internal.MsigGetVested(p0, p1, p2, p3)\n}\n```", "summary": "MsigGetVested returns the amount of FIL that vested in a multisig in a certain period.\nIt takes the following params: \u003cmultisig address\u003e, \u003cstart epoch\u003e, \u003cend epoch\u003e\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "types.BigInt", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2516" } }, { "name": "Filecoin.MsigGetVestingSchedule", "description": "```go\nfunc (s *FullNodeStruct) MsigGetVestingSchedule(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MsigVesting, error) {\n\tif s.Internal.MsigGetVestingSchedule == nil {\n\t\treturn *new(MsigVesting), ErrNotSupported\n\t}\n\treturn s.Internal.MsigGetVestingSchedule(p0, p1, p2)\n}\n```", "summary": "MsigGetVestingSchedule returns the vesting details of a given multisig.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "MsigVesting", "description": "MsigVesting", "summary": "", "schema": { "examples": [ { "InitialBalance": "0", "StartEpoch": 10101, "UnlockDuration": 10101 } ], "additionalProperties": false, "properties": { "InitialBalance": { "additionalProperties": false, "type": "object" }, "StartEpoch": { "title": "number", "type": "number" }, "UnlockDuration": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2527" } }, { "name": "Filecoin.MsigPropose", "description": "```go\nfunc (s *FullNodeStruct) MsigPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt, p4 address.Address, p5 uint64, p6 []byte) (*MessagePrototype, error) {\n\tif s.Internal.MsigPropose == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MsigPropose(p0, p1, p2, p3, p4, p5, p6)\n}\n```", "summary": "MsigPropose proposes a multisig message\nIt takes the following params: \u003cmultisig address\u003e, \u003crecipient address\u003e, \u003cvalue to transfer\u003e,\n\u003csender address of the propose msg\u003e, \u003cmethod to call in the proposed message\u003e, \u003cparams to include in the proposed message\u003e\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p5", "description": "uint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 42 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p6", "description": "[]byte", "summary": "", "schema": { "examples": [ "Ynl0ZSBhcnJheQ==" ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "*MessagePrototype", "description": "*MessagePrototype", "summary": "", "schema": { "examples": [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "ValidNonce": true } ], "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "ValidNonce": { "type": "boolean" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2538" } }, { "name": "Filecoin.MsigRemoveSigner", "description": "```go\nfunc (s *FullNodeStruct) MsigRemoveSigner(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 bool) (*MessagePrototype, error) {\n\tif s.Internal.MsigRemoveSigner == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MsigRemoveSigner(p0, p1, p2, p3, p4)\n}\n```", "summary": "MsigRemoveSigner proposes the removal of a signer from the multisig.\nIt accepts the multisig to make the change on, the proposer address to\nsend the message from, the address to be removed, and a boolean\nindicating whether or not the signing threshold should be lowered by one\nalong with the address removal.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false } ], "result": { "name": "*MessagePrototype", "description": "*MessagePrototype", "summary": "", "schema": { "examples": [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "ValidNonce": true } ], "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "ValidNonce": { "type": "boolean" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2549" } }, { "name": "Filecoin.MsigSwapApprove", "description": "```go\nfunc (s *FullNodeStruct) MsigSwapApprove(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address, p6 address.Address) (*MessagePrototype, error) {\n\tif s.Internal.MsigSwapApprove == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MsigSwapApprove(p0, p1, p2, p3, p4, p5, p6)\n}\n```", "summary": "MsigSwapApprove approves a previously proposed SwapSigner\nIt takes the following params: \u003cmultisig address\u003e, \u003csender address of the approve msg\u003e, \u003cproposed message ID\u003e,\n\u003cproposer address\u003e, \u003cold signer\u003e, \u003cnew signer\u003e\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "uint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 42 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p5", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p6", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*MessagePrototype", "description": "*MessagePrototype", "summary": "", "schema": { "examples": [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "ValidNonce": true } ], "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "ValidNonce": { "type": "boolean" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2560" } }, { "name": "Filecoin.MsigSwapCancel", "description": "```go\nfunc (s *FullNodeStruct) MsigSwapCancel(p0 context.Context, p1 address.Address, p2 address.Address, p3 uint64, p4 address.Address, p5 address.Address) (*MessagePrototype, error) {\n\tif s.Internal.MsigSwapCancel == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MsigSwapCancel(p0, p1, p2, p3, p4, p5)\n}\n```", "summary": "MsigSwapCancel cancels a previously proposed SwapSigner message\nIt takes the following params: \u003cmultisig address\u003e, \u003csender address of the cancel msg\u003e, \u003cproposed message ID\u003e,\n\u003cold signer\u003e, \u003cnew signer\u003e\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "uint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 42 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p5", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*MessagePrototype", "description": "*MessagePrototype", "summary": "", "schema": { "examples": [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "ValidNonce": true } ], "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "ValidNonce": { "type": "boolean" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2571" } }, { "name": "Filecoin.MsigSwapPropose", "description": "```go\nfunc (s *FullNodeStruct) MsigSwapPropose(p0 context.Context, p1 address.Address, p2 address.Address, p3 address.Address, p4 address.Address) (*MessagePrototype, error) {\n\tif s.Internal.MsigSwapPropose == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.MsigSwapPropose(p0, p1, p2, p3, p4)\n}\n```", "summary": "MsigSwapPropose proposes swapping 2 signers in the multisig\nIt takes the following params: \u003cmultisig address\u003e, \u003csender address of the propose msg\u003e,\n\u003cold signer\u003e, \u003cnew signer\u003e\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*MessagePrototype", "description": "*MessagePrototype", "summary": "", "schema": { "examples": [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "ValidNonce": true } ], "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "ValidNonce": { "type": "boolean" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2582" } }, { "name": "Filecoin.NetListening", "description": "```go\nfunc (s *FullNodeStruct) NetListening(p0 context.Context) (bool, error) {\n\tif s.Internal.NetListening == nil {\n\t\treturn false, ErrNotSupported\n\t}\n\treturn s.Internal.NetListening(p0)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [], "result": { "name": "bool", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2593" } }, { "name": "Filecoin.NetVersion", "description": "```go\nfunc (s *FullNodeStruct) NetVersion(p0 context.Context) (string, error) {\n\tif s.Internal.NetVersion == nil {\n\t\treturn \"\", ErrNotSupported\n\t}\n\treturn s.Internal.NetVersion(p0)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [], "result": { "name": "string", "description": "string", "summary": "", "schema": { "examples": [ "string value" ], "type": [ "string" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2604" } }, { "name": "Filecoin.NodeStatus", "description": "```go\nfunc (s *FullNodeStruct) NodeStatus(p0 context.Context, p1 bool) (NodeStatus, error) {\n\tif s.Internal.NodeStatus == nil {\n\t\treturn *new(NodeStatus), ErrNotSupported\n\t}\n\treturn s.Internal.NodeStatus(p0, p1)\n}\n```", "summary": "There are not yet any comments for this method.", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false } ], "result": { "name": "NodeStatus", "description": "NodeStatus", "summary": "", "schema": { "examples": [ { "SyncStatus": { "Epoch": 42, "Behind": 42 }, "PeerStatus": { "PeersToPublishMsgs": 123, "PeersToPublishBlocks": 123 }, "ChainStatus": { "BlocksPerTipsetLast100": 12.3, "BlocksPerTipsetLastFinality": 12.3 } } ], "additionalProperties": false, "properties": { "ChainStatus": { "additionalProperties": false, "properties": { "BlocksPerTipsetLast100": { "type": "number" }, "BlocksPerTipsetLastFinality": { "type": "number" } }, "type": "object" }, "PeerStatus": { "additionalProperties": false, "properties": { "PeersToPublishBlocks": { "title": "number", "type": "number" }, "PeersToPublishMsgs": { "title": "number", "type": "number" } }, "type": "object" }, "SyncStatus": { "additionalProperties": false, "properties": { "Behind": { "title": "number", "type": "number" }, "Epoch": { "title": "number", "type": "number" } }, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2615" } }, { "name": "Filecoin.PaychAllocateLane", "description": "```go\nfunc (s *FullNodeStruct) PaychAllocateLane(p0 context.Context, p1 address.Address) (uint64, error) {\n\tif s.Internal.PaychAllocateLane == nil {\n\t\treturn 0, ErrNotSupported\n\t}\n\treturn s.Internal.PaychAllocateLane(p0, p1)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "uint64", "description": "uint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 42 ], "type": [ "number" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2626" } }, { "name": "Filecoin.PaychAvailableFunds", "description": "```go\nfunc (s *FullNodeStruct) PaychAvailableFunds(p0 context.Context, p1 address.Address) (*ChannelAvailableFunds, error) {\n\tif s.Internal.PaychAvailableFunds == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.PaychAvailableFunds(p0, p1)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*ChannelAvailableFunds", "description": "*ChannelAvailableFunds", "summary": "", "schema": { "examples": [ { "Channel": "f01234", "From": "f01234", "To": "f01234", "ConfirmedAmt": "0", "PendingAmt": "0", "NonReservedAmt": "0", "PendingAvailableAmt": "0", "PendingWaitSentinel": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "QueuedAmt": "0", "VoucherReedeemedAmt": "0" } ], "additionalProperties": false, "properties": { "Channel": { "additionalProperties": false, "type": "object" }, "ConfirmedAmt": { "additionalProperties": false, "type": "object" }, "From": { "additionalProperties": false, "type": "object" }, "NonReservedAmt": { "additionalProperties": false, "type": "object" }, "PendingAmt": { "additionalProperties": false, "type": "object" }, "PendingAvailableAmt": { "additionalProperties": false, "type": "object" }, "PendingWaitSentinel": { "title": "Content Identifier", "type": "string" }, "QueuedAmt": { "additionalProperties": false, "type": "object" }, "To": { "additionalProperties": false, "type": "object" }, "VoucherReedeemedAmt": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2637" } }, { "name": "Filecoin.PaychAvailableFundsByFromTo", "description": "```go\nfunc (s *FullNodeStruct) PaychAvailableFundsByFromTo(p0 context.Context, p1 address.Address, p2 address.Address) (*ChannelAvailableFunds, error) {\n\tif s.Internal.PaychAvailableFundsByFromTo == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.PaychAvailableFundsByFromTo(p0, p1, p2)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*ChannelAvailableFunds", "description": "*ChannelAvailableFunds", "summary": "", "schema": { "examples": [ { "Channel": "f01234", "From": "f01234", "To": "f01234", "ConfirmedAmt": "0", "PendingAmt": "0", "NonReservedAmt": "0", "PendingAvailableAmt": "0", "PendingWaitSentinel": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "QueuedAmt": "0", "VoucherReedeemedAmt": "0" } ], "additionalProperties": false, "properties": { "Channel": { "additionalProperties": false, "type": "object" }, "ConfirmedAmt": { "additionalProperties": false, "type": "object" }, "From": { "additionalProperties": false, "type": "object" }, "NonReservedAmt": { "additionalProperties": false, "type": "object" }, "PendingAmt": { "additionalProperties": false, "type": "object" }, "PendingAvailableAmt": { "additionalProperties": false, "type": "object" }, "PendingWaitSentinel": { "title": "Content Identifier", "type": "string" }, "QueuedAmt": { "additionalProperties": false, "type": "object" }, "To": { "additionalProperties": false, "type": "object" }, "VoucherReedeemedAmt": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2648" } }, { "name": "Filecoin.PaychCollect", "description": "```go\nfunc (s *FullNodeStruct) PaychCollect(p0 context.Context, p1 address.Address) (cid.Cid, error) {\n\tif s.Internal.PaychCollect == nil {\n\t\treturn *new(cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.PaychCollect(p0, p1)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "cid.Cid", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2659" } }, { "name": "Filecoin.PaychFund", "description": "```go\nfunc (s *FullNodeStruct) PaychFund(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt) (*ChannelInfo, error) {\n\tif s.Internal.PaychFund == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.PaychFund(p0, p1, p2, p3)\n}\n```", "summary": "PaychFund gets or creates a payment channel between address pair.\nThe specified amount will be added to the channel through on-chain send for future use\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*ChannelInfo", "description": "*ChannelInfo", "summary": "", "schema": { "examples": [ { "Channel": "f01234", "WaitSentinel": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } } ], "additionalProperties": false, "properties": { "Channel": { "additionalProperties": false, "type": "object" }, "WaitSentinel": { "title": "Content Identifier", "type": "string" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2670" } }, { "name": "Filecoin.PaychGet", "description": "```go\nfunc (s *FullNodeStruct) PaychGet(p0 context.Context, p1 address.Address, p2 address.Address, p3 types.BigInt, p4 PaychGetOpts) (*ChannelInfo, error) {\n\tif s.Internal.PaychGet == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.PaychGet(p0, p1, p2, p3, p4)\n}\n```", "summary": "PaychGet gets or creates a payment channel between address pair\n The specified amount will be reserved for use. If there aren't enough non-reserved funds\n available, funds will be added through an on-chain message.\n - When opts.OffChain is true, this call will not cause any messages to be sent to the chain (no automatic\n channel creation/funds adding). If the operation can't be performed without sending a message an error will be\n returned. Note that even when this option is specified, this call can be blocked by previous operations on the\n channel waiting for on-chain operations.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "PaychGetOpts", "summary": "", "schema": { "examples": [ { "OffChain": true } ], "additionalProperties": false, "properties": { "OffChain": { "type": "boolean" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*ChannelInfo", "description": "*ChannelInfo", "summary": "", "schema": { "examples": [ { "Channel": "f01234", "WaitSentinel": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } } ], "additionalProperties": false, "properties": { "Channel": { "additionalProperties": false, "type": "object" }, "WaitSentinel": { "title": "Content Identifier", "type": "string" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2681" } }, { "name": "Filecoin.PaychGetWaitReady", "description": "```go\nfunc (s *FullNodeStruct) PaychGetWaitReady(p0 context.Context, p1 cid.Cid) (address.Address, error) {\n\tif s.Internal.PaychGetWaitReady == nil {\n\t\treturn *new(address.Address), ErrNotSupported\n\t}\n\treturn s.Internal.PaychGetWaitReady(p0, p1)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "address.Address", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2692" } }, { "name": "Filecoin.PaychList", "description": "```go\nfunc (s *FullNodeStruct) PaychList(p0 context.Context) ([]address.Address, error) {\n\tif s.Internal.PaychList == nil {\n\t\treturn *new([]address.Address), ErrNotSupported\n\t}\n\treturn s.Internal.PaychList(p0)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [], "result": { "name": "[]address.Address", "description": "[]address.Address", "summary": "", "schema": { "examples": [ [ "f01234" ] ], "items": [ { "additionalProperties": false, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2703" } }, { "name": "Filecoin.PaychNewPayment", "description": "```go\nfunc (s *FullNodeStruct) PaychNewPayment(p0 context.Context, p1 address.Address, p2 address.Address, p3 []VoucherSpec) (*PaymentInfo, error) {\n\tif s.Internal.PaychNewPayment == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.PaychNewPayment(p0, p1, p2, p3)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "[]VoucherSpec", "summary": "", "schema": { "examples": [ [ { "Amount": "0", "TimeLockMin": 10101, "TimeLockMax": 10101, "MinSettle": 10101, "Extra": { "Actor": "f01234", "Method": 1, "Data": "Ynl0ZSBhcnJheQ==" } } ] ], "items": [ { "additionalProperties": false, "properties": { "Amount": { "additionalProperties": false, "type": "object" }, "Extra": { "additionalProperties": false, "properties": { "Actor": { "additionalProperties": false, "type": "object" }, "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Method": { "title": "number", "type": "number" } }, "type": "object" }, "MinSettle": { "title": "number", "type": "number" }, "TimeLockMax": { "title": "number", "type": "number" }, "TimeLockMin": { "title": "number", "type": "number" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "*PaymentInfo", "description": "*PaymentInfo", "summary": "", "schema": { "examples": [ { "Channel": "f01234", "WaitSentinel": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Vouchers": [ { "ChannelAddr": "f01234", "TimeLockMin": 10101, "TimeLockMax": 10101, "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, "Data": "Ynl0ZSBhcnJheQ==" }, "Lane": 42, "Nonce": 42, "Amount": "0", "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, "Nonce": 42 } ], "Signature": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" } } ] } ], "additionalProperties": false, "properties": { "Channel": { "additionalProperties": false, "type": "object" }, "Vouchers": { "items": { "additionalProperties": false, "properties": { "Amount": { "additionalProperties": false, "type": "object" }, "ChannelAddr": { "additionalProperties": false, "type": "object" }, "Extra": { "additionalProperties": false, "properties": { "Actor": { "additionalProperties": false, "type": "object" }, "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Method": { "title": "number", "type": "number" } }, "type": "object" }, "Lane": { "title": "number", "type": "number" }, "Merges": { "items": { "additionalProperties": false, "properties": { "Lane": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "MinSettleHeight": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "SecretHash": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Signature": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" }, "TimeLockMax": { "title": "number", "type": "number" }, "TimeLockMin": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "WaitSentinel": { "title": "Content Identifier", "type": "string" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2714" } }, { "name": "Filecoin.PaychSettle", "description": "```go\nfunc (s *FullNodeStruct) PaychSettle(p0 context.Context, p1 address.Address) (cid.Cid, error) {\n\tif s.Internal.PaychSettle == nil {\n\t\treturn *new(cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.PaychSettle(p0, p1)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "cid.Cid", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2725" } }, { "name": "Filecoin.PaychStatus", "description": "```go\nfunc (s *FullNodeStruct) PaychStatus(p0 context.Context, p1 address.Address) (*PaychStatus, error) {\n\tif s.Internal.PaychStatus == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.PaychStatus(p0, p1)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*PaychStatus", "description": "*PaychStatus", "summary": "", "schema": { "examples": [ { "ControlAddr": "f01234", "Direction": 1 } ], "additionalProperties": false, "properties": { "ControlAddr": { "additionalProperties": false, "type": "object" }, "Direction": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2736" } }, { "name": "Filecoin.PaychVoucherAdd", "description": "```go\nfunc (s *FullNodeStruct) PaychVoucherAdd(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 types.BigInt) (types.BigInt, error) {\n\tif s.Internal.PaychVoucherAdd == nil {\n\t\treturn *new(types.BigInt), ErrNotSupported\n\t}\n\treturn s.Internal.PaychVoucherAdd(p0, p1, p2, p3, p4)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "*paych.SignedVoucher", "summary": "", "schema": { "examples": [ { "ChannelAddr": "f01234", "TimeLockMin": 10101, "TimeLockMax": 10101, "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, "Data": "Ynl0ZSBhcnJheQ==" }, "Lane": 42, "Nonce": 42, "Amount": "0", "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, "Nonce": 42 } ], "Signature": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" } } ], "additionalProperties": false, "properties": { "Amount": { "additionalProperties": false, "type": "object" }, "ChannelAddr": { "additionalProperties": false, "type": "object" }, "Extra": { "additionalProperties": false, "properties": { "Actor": { "additionalProperties": false, "type": "object" }, "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Method": { "title": "number", "type": "number" } }, "type": "object" }, "Lane": { "title": "number", "type": "number" }, "Merges": { "items": { "additionalProperties": false, "properties": { "Lane": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "MinSettleHeight": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "SecretHash": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Signature": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" }, "TimeLockMax": { "title": "number", "type": "number" }, "TimeLockMin": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "[]byte", "summary": "", "schema": { "examples": [ "Ynl0ZSBhcnJheQ==" ], "type": [ "string" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "types.BigInt", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2747" } }, { "name": "Filecoin.PaychVoucherCheckSpendable", "description": "```go\nfunc (s *FullNodeStruct) PaychVoucherCheckSpendable(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 []byte) (bool, error) {\n\tif s.Internal.PaychVoucherCheckSpendable == nil {\n\t\treturn false, ErrNotSupported\n\t}\n\treturn s.Internal.PaychVoucherCheckSpendable(p0, p1, p2, p3, p4)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "*paych.SignedVoucher", "summary": "", "schema": { "examples": [ { "ChannelAddr": "f01234", "TimeLockMin": 10101, "TimeLockMax": 10101, "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, "Data": "Ynl0ZSBhcnJheQ==" }, "Lane": 42, "Nonce": 42, "Amount": "0", "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, "Nonce": 42 } ], "Signature": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" } } ], "additionalProperties": false, "properties": { "Amount": { "additionalProperties": false, "type": "object" }, "ChannelAddr": { "additionalProperties": false, "type": "object" }, "Extra": { "additionalProperties": false, "properties": { "Actor": { "additionalProperties": false, "type": "object" }, "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Method": { "title": "number", "type": "number" } }, "type": "object" }, "Lane": { "title": "number", "type": "number" }, "Merges": { "items": { "additionalProperties": false, "properties": { "Lane": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "MinSettleHeight": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "SecretHash": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Signature": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" }, "TimeLockMax": { "title": "number", "type": "number" }, "TimeLockMin": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "[]byte", "summary": "", "schema": { "examples": [ "Ynl0ZSBhcnJheQ==" ], "type": [ "string" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "[]byte", "summary": "", "schema": { "examples": [ "Ynl0ZSBhcnJheQ==" ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "bool", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2758" } }, { "name": "Filecoin.PaychVoucherCheckValid", "description": "```go\nfunc (s *FullNodeStruct) PaychVoucherCheckValid(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher) error {\n\tif s.Internal.PaychVoucherCheckValid == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.PaychVoucherCheckValid(p0, p1, p2)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "*paych.SignedVoucher", "summary": "", "schema": { "examples": [ { "ChannelAddr": "f01234", "TimeLockMin": 10101, "TimeLockMax": 10101, "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, "Data": "Ynl0ZSBhcnJheQ==" }, "Lane": 42, "Nonce": 42, "Amount": "0", "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, "Nonce": 42 } ], "Signature": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" } } ], "additionalProperties": false, "properties": { "Amount": { "additionalProperties": false, "type": "object" }, "ChannelAddr": { "additionalProperties": false, "type": "object" }, "Extra": { "additionalProperties": false, "properties": { "Actor": { "additionalProperties": false, "type": "object" }, "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Method": { "title": "number", "type": "number" } }, "type": "object" }, "Lane": { "title": "number", "type": "number" }, "Merges": { "items": { "additionalProperties": false, "properties": { "Lane": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "MinSettleHeight": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "SecretHash": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Signature": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" }, "TimeLockMax": { "title": "number", "type": "number" }, "TimeLockMin": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "Null", "description": "Null", "schema": { "type": [ "null" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2769" } }, { "name": "Filecoin.PaychVoucherCreate", "description": "```go\nfunc (s *FullNodeStruct) PaychVoucherCreate(p0 context.Context, p1 address.Address, p2 types.BigInt, p3 uint64) (*VoucherCreateResult, error) {\n\tif s.Internal.PaychVoucherCreate == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.PaychVoucherCreate(p0, p1, p2, p3)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "uint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 42 ], "type": [ "number" ] }, "required": true, "deprecated": false } ], "result": { "name": "*VoucherCreateResult", "description": "*VoucherCreateResult", "summary": "", "schema": { "examples": [ { "Voucher": { "ChannelAddr": "f01234", "TimeLockMin": 10101, "TimeLockMax": 10101, "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, "Data": "Ynl0ZSBhcnJheQ==" }, "Lane": 42, "Nonce": 42, "Amount": "0", "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, "Nonce": 42 } ], "Signature": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" } }, "Shortfall": "0" } ], "additionalProperties": false, "properties": { "Shortfall": { "additionalProperties": false, "type": "object" }, "Voucher": { "additionalProperties": false, "properties": { "Amount": { "additionalProperties": false, "type": "object" }, "ChannelAddr": { "additionalProperties": false, "type": "object" }, "Extra": { "additionalProperties": false, "properties": { "Actor": { "additionalProperties": false, "type": "object" }, "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Method": { "title": "number", "type": "number" } }, "type": "object" }, "Lane": { "title": "number", "type": "number" }, "Merges": { "items": { "additionalProperties": false, "properties": { "Lane": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "MinSettleHeight": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "SecretHash": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Signature": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" }, "TimeLockMax": { "title": "number", "type": "number" }, "TimeLockMin": { "title": "number", "type": "number" } }, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2780" } }, { "name": "Filecoin.PaychVoucherList", "description": "```go\nfunc (s *FullNodeStruct) PaychVoucherList(p0 context.Context, p1 address.Address) ([]*paych.SignedVoucher, error) {\n\tif s.Internal.PaychVoucherList == nil {\n\t\treturn *new([]*paych.SignedVoucher), ErrNotSupported\n\t}\n\treturn s.Internal.PaychVoucherList(p0, p1)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]*paych.SignedVoucher", "description": "[]*paych.SignedVoucher", "summary": "", "schema": { "examples": [ [ { "ChannelAddr": "f01234", "TimeLockMin": 10101, "TimeLockMax": 10101, "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, "Data": "Ynl0ZSBhcnJheQ==" }, "Lane": 42, "Nonce": 42, "Amount": "0", "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, "Nonce": 42 } ], "Signature": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" } } ] ], "items": [ { "additionalProperties": false, "properties": { "Amount": { "additionalProperties": false, "type": "object" }, "ChannelAddr": { "additionalProperties": false, "type": "object" }, "Extra": { "additionalProperties": false, "properties": { "Actor": { "additionalProperties": false, "type": "object" }, "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Method": { "title": "number", "type": "number" } }, "type": "object" }, "Lane": { "title": "number", "type": "number" }, "Merges": { "items": { "additionalProperties": false, "properties": { "Lane": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "MinSettleHeight": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "SecretHash": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Signature": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" }, "TimeLockMax": { "title": "number", "type": "number" }, "TimeLockMin": { "title": "number", "type": "number" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2791" } }, { "name": "Filecoin.PaychVoucherSubmit", "description": "```go\nfunc (s *FullNodeStruct) PaychVoucherSubmit(p0 context.Context, p1 address.Address, p2 *paych.SignedVoucher, p3 []byte, p4 []byte) (cid.Cid, error) {\n\tif s.Internal.PaychVoucherSubmit == nil {\n\t\treturn *new(cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.PaychVoucherSubmit(p0, p1, p2, p3, p4)\n}\n```", "summary": "", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "*paych.SignedVoucher", "summary": "", "schema": { "examples": [ { "ChannelAddr": "f01234", "TimeLockMin": 10101, "TimeLockMax": 10101, "SecretHash": "Ynl0ZSBhcnJheQ==", "Extra": { "Actor": "f01234", "Method": 1, "Data": "Ynl0ZSBhcnJheQ==" }, "Lane": 42, "Nonce": 42, "Amount": "0", "MinSettleHeight": 10101, "Merges": [ { "Lane": 42, "Nonce": 42 } ], "Signature": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" } } ], "additionalProperties": false, "properties": { "Amount": { "additionalProperties": false, "type": "object" }, "ChannelAddr": { "additionalProperties": false, "type": "object" }, "Extra": { "additionalProperties": false, "properties": { "Actor": { "additionalProperties": false, "type": "object" }, "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Method": { "title": "number", "type": "number" } }, "type": "object" }, "Lane": { "title": "number", "type": "number" }, "Merges": { "items": { "additionalProperties": false, "properties": { "Lane": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "MinSettleHeight": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "SecretHash": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Signature": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" }, "TimeLockMax": { "title": "number", "type": "number" }, "TimeLockMin": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "[]byte", "summary": "", "schema": { "examples": [ "Ynl0ZSBhcnJheQ==" ], "type": [ "string" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "[]byte", "summary": "", "schema": { "examples": [ "Ynl0ZSBhcnJheQ==" ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "cid.Cid", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2802" } }, { "name": "Filecoin.StateAccountKey", "description": "```go\nfunc (s *FullNodeStruct) StateAccountKey(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error) {\n\tif s.Internal.StateAccountKey == nil {\n\t\treturn *new(address.Address), ErrNotSupported\n\t}\n\treturn s.Internal.StateAccountKey(p0, p1, p2)\n}\n```", "summary": "StateAccountKey returns the public key address of the given ID address for secp and bls accounts\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "address.Address", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2813" } }, { "name": "Filecoin.StateActorCodeCIDs", "description": "```go\nfunc (s *FullNodeStruct) StateActorCodeCIDs(p0 context.Context, p1 abinetwork.Version) (map[string]cid.Cid, error) {\n\tif s.Internal.StateActorCodeCIDs == nil {\n\t\treturn *new(map[string]cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.StateActorCodeCIDs(p0, p1)\n}\n```", "summary": "StateActorCodeCIDs returns the CIDs of all the builtin actors for the given network version\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "abinetwork.Version", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 23 ], "type": [ "number" ] }, "required": true, "deprecated": false } ], "result": { "name": "map[string]cid.Cid", "description": "map[string]cid.Cid", "summary": "", "schema": { "examples": [ {} ], "patternProperties": { ".*": { "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "title": "Content Identifier", "type": "string" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2824" } }, { "name": "Filecoin.StateActorManifestCID", "description": "```go\nfunc (s *FullNodeStruct) StateActorManifestCID(p0 context.Context, p1 abinetwork.Version) (cid.Cid, error) {\n\tif s.Internal.StateActorManifestCID == nil {\n\t\treturn *new(cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.StateActorManifestCID(p0, p1)\n}\n```", "summary": "StateActorManifestCID returns the CID of the builtin actors manifest for the given network version\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "abinetwork.Version", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 23 ], "type": [ "number" ] }, "required": true, "deprecated": false } ], "result": { "name": "cid.Cid", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2835" } }, { "name": "Filecoin.StateAllMinerFaults", "description": "```go\nfunc (s *FullNodeStruct) StateAllMinerFaults(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) ([]*Fault, error) {\n\tif s.Internal.StateAllMinerFaults == nil {\n\t\treturn *new([]*Fault), ErrNotSupported\n\t}\n\treturn s.Internal.StateAllMinerFaults(p0, p1, p2)\n}\n```", "summary": "StateAllMinerFaults returns all non-expired Faults that occur within lookback epochs of the given tipset\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "abi.ChainEpoch", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 10101 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]*Fault", "description": "[]*Fault", "summary": "", "schema": { "examples": [ [ { "Miner": "f01234", "Epoch": 10101 } ] ], "items": [ { "additionalProperties": false, "properties": { "Epoch": { "title": "number", "type": "number" }, "Miner": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2846" } }, { "name": "Filecoin.StateCall", "description": "```go\nfunc (s *FullNodeStruct) StateCall(p0 context.Context, p1 *types.Message, p2 types.TipSetKey) (*InvocResult, error) {\n\tif s.Internal.StateCall == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateCall(p0, p1, p2)\n}\n```", "summary": "StateCall runs the given message and returns its result without any persisted changes.\n\nStateCall applies the message to the tipset's parent state. The\nmessage is not applied on-top-of the messages in the passed-in\ntipset.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "*types.Message", "summary": "", "schema": { "examples": [ { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*InvocResult", "description": "*InvocResult", "summary": "", "schema": { "examples": [ { "MsgCid": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Msg": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "MsgRct": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", "GasUsed": 9, "EventsRoot": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } }, "GasCost": { "Message": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "GasUsed": "0", "BaseFeeBurn": "0", "OverEstimationBurn": "0", "MinerPenalty": "0", "MinerTip": "0", "Refund": "0", "TotalCost": "0" }, "ExecutionTrace": { "Msg": { "From": "f01234", "To": "f01234", "Value": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "ParamsCodec": 42, "GasLimit": 42, "ReadOnly": true }, "MsgRct": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", "ReturnCodec": 42 }, "InvokedActor": { "Id": 1000, "State": { "Code": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Head": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Nonce": 42, "Balance": "0", "Address": "f01234" } }, "GasCharges": [ { "Name": "string value", "tg": 9, "cg": 9, "sg": 9, "tt": 60000000000 } ], "Subcalls": [ { "Msg": { "From": "f01234", "To": "f01234", "Value": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "ParamsCodec": 42, "GasLimit": 42, "ReadOnly": true }, "MsgRct": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", "ReturnCodec": 42 }, "InvokedActor": { "Id": 1000, "State": { "Code": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Head": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Nonce": 42, "Balance": "0", "Address": "f01234" } }, "GasCharges": [ { "Name": "string value", "tg": 9, "cg": 9, "sg": 9, "tt": 60000000000 } ], "Subcalls": null } ] }, "Error": "string value", "Duration": 60000000000 } ], "additionalProperties": false, "properties": { "Duration": { "title": "number", "type": "number" }, "Error": { "type": "string" }, "ExecutionTrace": { "additionalProperties": false, "properties": { "GasCharges": { "items": { "additionalProperties": false, "properties": { "Name": { "type": "string" }, "cg": { "title": "number", "type": "number" }, "sg": { "title": "number", "type": "number" }, "tg": { "title": "number", "type": "number" }, "tt": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "InvokedActor": { "additionalProperties": false, "properties": { "Id": { "title": "number", "type": "number" }, "State": { "additionalProperties": false, "properties": { "Address": { "additionalProperties": false, "type": "object" }, "Balance": { "additionalProperties": false, "type": "object" }, "Code": { "title": "Content Identifier", "type": "string" }, "Head": { "title": "Content Identifier", "type": "string" }, "Nonce": { "title": "number", "type": "number" } }, "type": "object" } }, "type": "object" }, "Msg": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "Method": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "ParamsCodec": { "title": "number", "type": "number" }, "ReadOnly": { "type": "boolean" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" } }, "type": "object" }, "MsgRct": { "additionalProperties": false, "properties": { "ExitCode": { "title": "number", "type": "number" }, "Return": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "ReturnCodec": { "title": "number", "type": "number" } }, "type": "object" }, "Subcalls": { "items": {}, "type": "array" } }, "type": "object" }, "GasCost": { "additionalProperties": false, "properties": { "BaseFeeBurn": { "additionalProperties": false, "type": "object" }, "GasUsed": { "additionalProperties": false, "type": "object" }, "Message": { "title": "Content Identifier", "type": "string" }, "MinerPenalty": { "additionalProperties": false, "type": "object" }, "MinerTip": { "additionalProperties": false, "type": "object" }, "OverEstimationBurn": { "additionalProperties": false, "type": "object" }, "Refund": { "additionalProperties": false, "type": "object" }, "TotalCost": { "additionalProperties": false, "type": "object" } }, "type": "object" }, "Msg": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "MsgCid": { "title": "Content Identifier", "type": "string" }, "MsgRct": { "additionalProperties": false, "properties": { "EventsRoot": { "title": "Content Identifier", "type": "string" }, "ExitCode": { "title": "number", "type": "number" }, "GasUsed": { "title": "number", "type": "number" }, "Return": { "media": { "binaryEncoding": "base64" }, "type": "string" } }, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2857" } }, { "name": "Filecoin.StateChangedActors", "description": "```go\nfunc (s *FullNodeStruct) StateChangedActors(p0 context.Context, p1 cid.Cid, p2 cid.Cid) (map[string]types.Actor, error) {\n\tif s.Internal.StateChangedActors == nil {\n\t\treturn *new(map[string]types.Actor), ErrNotSupported\n\t}\n\treturn s.Internal.StateChangedActors(p0, p1, p2)\n}\n```", "summary": "StateChangedActors returns all the actors whose states change between the two given state CIDs\nTODO: Should this take tipset keys instead?\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "map[string]types.Actor", "description": "map[string]types.Actor", "summary": "", "schema": { "examples": [ { "t01236": { "Code": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Head": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Nonce": 42, "Balance": "0", "Address": "f01234" } } ], "patternProperties": { ".*": { "additionalProperties": false, "properties": { "Address": { "additionalProperties": false, "type": "object" }, "Balance": { "additionalProperties": false, "type": "object" }, "Code": { "title": "Content Identifier", "type": "string" }, "Head": { "title": "Content Identifier", "type": "string" }, "Nonce": { "title": "number", "type": "number" } }, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2868" } }, { "name": "Filecoin.StateCirculatingSupply", "description": "```go\nfunc (s *FullNodeStruct) StateCirculatingSupply(p0 context.Context, p1 types.TipSetKey) (abi.TokenAmount, error) {\n\tif s.Internal.StateCirculatingSupply == nil {\n\t\treturn *new(abi.TokenAmount), ErrNotSupported\n\t}\n\treturn s.Internal.StateCirculatingSupply(p0, p1)\n}\n```", "summary": "StateCirculatingSupply returns the exact circulating supply of Filecoin at the given tipset.\nThis is not used anywhere in the protocol itself, and is only for external consumption.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "abi.TokenAmount", "description": "abi.TokenAmount", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2879" } }, { "name": "Filecoin.StateCompute", "description": "```go\nfunc (s *FullNodeStruct) StateCompute(p0 context.Context, p1 abi.ChainEpoch, p2 []*types.Message, p3 types.TipSetKey) (*ComputeStateOutput, error) {\n\tif s.Internal.StateCompute == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateCompute(p0, p1, p2, p3)\n}\n```", "summary": "StateCompute is a flexible command that applies the given messages on the given tipset.\nThe messages are run as though the VM were at the provided height.\n\nWhen called, StateCompute will:\n- Load the provided tipset, or use the current chain head if not provided\n- Compute the tipset state of the provided tipset on top of the parent state\n - (note that this step runs before vmheight is applied to the execution)\n - Execute state upgrade if any were scheduled at the epoch, or in null\n blocks preceding the tipset\n - Call the cron actor on null blocks preceding the tipset\n - For each block in the tipset\n - Apply messages in blocks in the specified\n - Award block reward by calling the reward actor\n - Call the cron actor for the current epoch\n- If the specified vmheight is higher than the current epoch, apply any\n needed state upgrades to the state\n- Apply the specified messages to the state\n\nThe vmheight parameter sets VM execution epoch, and can be used to simulate\nmessage execution in different network versions. If the specified vmheight\nepoch is higher than the epoch of the specified tipset, any state upgrades\nuntil the vmheight will be executed on the state before applying messages\nspecified by the user.\n\nNote that the initial tipset state computation is not affected by the\nvmheight parameter - only the messages in the `apply` set are\n\nIf the caller wants to simply compute the state, vmheight should be set to\nthe epoch of the specified tipset.\n\nMessages in the `apply` parameter must have the correct nonces, and gas\nvalues set.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "abi.ChainEpoch", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 10101 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "[]*types.Message", "summary": "", "schema": { "examples": [ [ { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ] ], "items": [ { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*ComputeStateOutput", "description": "*ComputeStateOutput", "summary": "", "schema": { "examples": [ { "Root": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Trace": [ { "MsgCid": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Msg": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "MsgRct": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", "GasUsed": 9, "EventsRoot": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } }, "GasCost": { "Message": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "GasUsed": "0", "BaseFeeBurn": "0", "OverEstimationBurn": "0", "MinerPenalty": "0", "MinerTip": "0", "Refund": "0", "TotalCost": "0" }, "ExecutionTrace": { "Msg": { "From": "f01234", "To": "f01234", "Value": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "ParamsCodec": 42, "GasLimit": 42, "ReadOnly": true }, "MsgRct": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", "ReturnCodec": 42 }, "InvokedActor": { "Id": 1000, "State": { "Code": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Head": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Nonce": 42, "Balance": "0", "Address": "f01234" } }, "GasCharges": [ { "Name": "string value", "tg": 9, "cg": 9, "sg": 9, "tt": 60000000000 } ], "Subcalls": [ { "Msg": { "From": "f01234", "To": "f01234", "Value": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "ParamsCodec": 42, "GasLimit": 42, "ReadOnly": true }, "MsgRct": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", "ReturnCodec": 42 }, "InvokedActor": { "Id": 1000, "State": { "Code": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Head": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Nonce": 42, "Balance": "0", "Address": "f01234" } }, "GasCharges": [ { "Name": "string value", "tg": 9, "cg": 9, "sg": 9, "tt": 60000000000 } ], "Subcalls": null } ] }, "Error": "string value", "Duration": 60000000000 } ] } ], "additionalProperties": false, "properties": { "Root": { "title": "Content Identifier", "type": "string" }, "Trace": { "items": { "additionalProperties": false, "properties": { "Duration": { "title": "number", "type": "number" }, "Error": { "type": "string" }, "ExecutionTrace": { "additionalProperties": false, "properties": { "GasCharges": { "items": { "additionalProperties": false, "properties": { "Name": { "type": "string" }, "cg": { "title": "number", "type": "number" }, "sg": { "title": "number", "type": "number" }, "tg": { "title": "number", "type": "number" }, "tt": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "InvokedActor": { "additionalProperties": false, "properties": { "Id": { "title": "number", "type": "number" }, "State": { "additionalProperties": false, "properties": { "Address": { "additionalProperties": false, "type": "object" }, "Balance": { "additionalProperties": false, "type": "object" }, "Code": { "title": "Content Identifier", "type": "string" }, "Head": { "title": "Content Identifier", "type": "string" }, "Nonce": { "title": "number", "type": "number" } }, "type": "object" } }, "type": "object" }, "Msg": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "Method": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "ParamsCodec": { "title": "number", "type": "number" }, "ReadOnly": { "type": "boolean" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" } }, "type": "object" }, "MsgRct": { "additionalProperties": false, "properties": { "ExitCode": { "title": "number", "type": "number" }, "Return": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "ReturnCodec": { "title": "number", "type": "number" } }, "type": "object" }, "Subcalls": { "items": {}, "type": "array" } }, "type": "object" }, "GasCost": { "additionalProperties": false, "properties": { "BaseFeeBurn": { "additionalProperties": false, "type": "object" }, "GasUsed": { "additionalProperties": false, "type": "object" }, "Message": { "title": "Content Identifier", "type": "string" }, "MinerPenalty": { "additionalProperties": false, "type": "object" }, "MinerTip": { "additionalProperties": false, "type": "object" }, "OverEstimationBurn": { "additionalProperties": false, "type": "object" }, "Refund": { "additionalProperties": false, "type": "object" }, "TotalCost": { "additionalProperties": false, "type": "object" } }, "type": "object" }, "Msg": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "MsgCid": { "title": "Content Identifier", "type": "string" }, "MsgRct": { "additionalProperties": false, "properties": { "EventsRoot": { "title": "Content Identifier", "type": "string" }, "ExitCode": { "title": "number", "type": "number" }, "GasUsed": { "title": "number", "type": "number" }, "Return": { "media": { "binaryEncoding": "base64" }, "type": "string" } }, "type": "object" } }, "type": "object" }, "type": "array" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2890" } }, { "name": "Filecoin.StateComputeDataCID", "description": "```go\nfunc (s *FullNodeStruct) StateComputeDataCID(p0 context.Context, p1 address.Address, p2 abi.RegisteredSealProof, p3 []abi.DealID, p4 types.TipSetKey) (cid.Cid, error) {\n\tif s.Internal.StateComputeDataCID == nil {\n\t\treturn *new(cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.StateComputeDataCID(p0, p1, p2, p3, p4)\n}\n```", "summary": "StateComputeDataCID computes DataCID from a set of on-chain deals\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "abi.RegisteredSealProof", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 8 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "[]abi.DealID", "summary": "", "schema": { "examples": [ [ 5432 ] ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "cid.Cid", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2901" } }, { "name": "Filecoin.StateDealProviderCollateralBounds", "description": "```go\nfunc (s *FullNodeStruct) StateDealProviderCollateralBounds(p0 context.Context, p1 abi.PaddedPieceSize, p2 bool, p3 types.TipSetKey) (DealCollateralBounds, error) {\n\tif s.Internal.StateDealProviderCollateralBounds == nil {\n\t\treturn *new(DealCollateralBounds), ErrNotSupported\n\t}\n\treturn s.Internal.StateDealProviderCollateralBounds(p0, p1, p2, p3)\n}\n```", "summary": "StateDealProviderCollateralBounds returns the min and max collateral a storage provider\ncan issue. It takes the deal size and verified status as parameters.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "abi.PaddedPieceSize", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 1032 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "DealCollateralBounds", "description": "DealCollateralBounds", "summary": "", "schema": { "examples": [ { "Min": "0", "Max": "0" } ], "additionalProperties": false, "properties": { "Max": { "additionalProperties": false, "type": "object" }, "Min": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2912" } }, { "name": "Filecoin.StateDecodeParams", "description": "```go\nfunc (s *FullNodeStruct) StateDecodeParams(p0 context.Context, p1 address.Address, p2 abi.MethodNum, p3 []byte, p4 types.TipSetKey) (interface{}, error) {\n\tif s.Internal.StateDecodeParams == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateDecodeParams(p0, p1, p2, p3, p4)\n}\n```", "summary": "StateDecodeParams attempts to decode the provided params, based on the recipient actor address and method number.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "abi.MethodNum", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 1 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "[]byte", "summary": "", "schema": { "examples": [ "Ynl0ZSBhcnJheQ==" ], "type": [ "string" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "interface{}", "description": "interface{}", "summary": "", "schema": { "examples": [ {} ], "additionalProperties": true, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2923" } }, { "name": "Filecoin.StateEncodeParams", "description": "```go\nfunc (s *FullNodeStruct) StateEncodeParams(p0 context.Context, p1 cid.Cid, p2 abi.MethodNum, p3 json.RawMessage) ([]byte, error) {\n\tif s.Internal.StateEncodeParams == nil {\n\t\treturn *new([]byte), ErrNotSupported\n\t}\n\treturn s.Internal.StateEncodeParams(p0, p1, p2, p3)\n}\n```", "summary": "StateEncodeParams attempts to encode the provided json params to the binary from\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "abi.MethodNum", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 1 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "json.RawMessage", "summary": "", "schema": { "examples": [ "json raw message" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]byte", "description": "[]byte", "summary": "", "schema": { "examples": [ "Ynl0ZSBhcnJheQ==" ], "type": [ "string" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2934" } }, { "name": "Filecoin.StateGetActor", "description": "```go\nfunc (s *FullNodeStruct) StateGetActor(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*types.Actor, error) {\n\tif s.Internal.StateGetActor == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateGetActor(p0, p1, p2)\n}\n```", "summary": "StateGetActor returns the indicated actor's nonce and balance.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*types.Actor", "description": "*types.Actor", "summary": "", "schema": { "examples": [ { "Code": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Head": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Nonce": 42, "Balance": "0", "Address": "f01234" } ], "additionalProperties": false, "properties": { "Address": { "additionalProperties": false, "type": "object" }, "Balance": { "additionalProperties": false, "type": "object" }, "Code": { "title": "Content Identifier", "type": "string" }, "Head": { "title": "Content Identifier", "type": "string" }, "Nonce": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2945" } }, { "name": "Filecoin.StateGetAllAllocations", "description": "```go\nfunc (s *FullNodeStruct) StateGetAllAllocations(p0 context.Context, p1 types.TipSetKey) (map[verifregtypes.AllocationId]verifregtypes.Allocation, error) {\n\tif s.Internal.StateGetAllAllocations == nil {\n\t\treturn *new(map[verifregtypes.AllocationId]verifregtypes.Allocation), ErrNotSupported\n\t}\n\treturn s.Internal.StateGetAllAllocations(p0, p1)\n}\n```", "summary": "StateGetAllAllocations returns the all the allocations available in verified registry actor.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "map[verifregtypes.AllocationId]verifregtypes.Allocation", "description": "map[verifregtypes.AllocationId]verifregtypes.Allocation", "summary": "", "schema": { "examples": [ {} ], "patternProperties": { ".*": { "additionalProperties": false, "properties": { "Client": { "title": "number", "type": "number" }, "Data": { "title": "Content Identifier", "type": "string" }, "Expiration": { "title": "number", "type": "number" }, "Provider": { "title": "number", "type": "number" }, "Size": { "title": "number", "type": "number" }, "TermMax": { "title": "number", "type": "number" }, "TermMin": { "title": "number", "type": "number" } }, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2956" } }, { "name": "Filecoin.StateGetAllClaims", "description": "```go\nfunc (s *FullNodeStruct) StateGetAllClaims(p0 context.Context, p1 types.TipSetKey) (map[verifregtypes.ClaimId]verifregtypes.Claim, error) {\n\tif s.Internal.StateGetAllClaims == nil {\n\t\treturn *new(map[verifregtypes.ClaimId]verifregtypes.Claim), ErrNotSupported\n\t}\n\treturn s.Internal.StateGetAllClaims(p0, p1)\n}\n```", "summary": "StateGetAllClaims returns the all the claims available in verified registry actor.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "map[verifregtypes.ClaimId]verifregtypes.Claim", "description": "map[verifregtypes.ClaimId]verifregtypes.Claim", "summary": "", "schema": { "examples": [ {} ], "patternProperties": { ".*": { "additionalProperties": false, "properties": { "Client": { "title": "number", "type": "number" }, "Data": { "title": "Content Identifier", "type": "string" }, "Provider": { "title": "number", "type": "number" }, "Sector": { "title": "number", "type": "number" }, "Size": { "title": "number", "type": "number" }, "TermMax": { "title": "number", "type": "number" }, "TermMin": { "title": "number", "type": "number" }, "TermStart": { "title": "number", "type": "number" } }, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2967" } }, { "name": "Filecoin.StateGetAllocation", "description": "```go\nfunc (s *FullNodeStruct) StateGetAllocation(p0 context.Context, p1 address.Address, p2 verifregtypes.AllocationId, p3 types.TipSetKey) (*verifregtypes.Allocation, error) {\n\tif s.Internal.StateGetAllocation == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateGetAllocation(p0, p1, p2, p3)\n}\n```", "summary": "StateGetAllocation returns the allocation for a given address and allocation ID.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "verifregtypes.AllocationId", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 0 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*verifregtypes.Allocation", "description": "*verifregtypes.Allocation", "summary": "", "schema": { "examples": [ { "Client": 1000, "Provider": 1000, "Data": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Size": 1032, "TermMin": 10101, "TermMax": 10101, "Expiration": 10101 } ], "additionalProperties": false, "properties": { "Client": { "title": "number", "type": "number" }, "Data": { "title": "Content Identifier", "type": "string" }, "Expiration": { "title": "number", "type": "number" }, "Provider": { "title": "number", "type": "number" }, "Size": { "title": "number", "type": "number" }, "TermMax": { "title": "number", "type": "number" }, "TermMin": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2978" } }, { "name": "Filecoin.StateGetAllocationForPendingDeal", "description": "```go\nfunc (s *FullNodeStruct) StateGetAllocationForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*verifregtypes.Allocation, error) {\n\tif s.Internal.StateGetAllocationForPendingDeal == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateGetAllocationForPendingDeal(p0, p1, p2)\n}\n```", "summary": "StateGetAllocationForPendingDeal returns the allocation for a given deal ID of a pending deal. Returns nil if\npending allocation is not found.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "abi.DealID", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 5432 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*verifregtypes.Allocation", "description": "*verifregtypes.Allocation", "summary": "", "schema": { "examples": [ { "Client": 1000, "Provider": 1000, "Data": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Size": 1032, "TermMin": 10101, "TermMax": 10101, "Expiration": 10101 } ], "additionalProperties": false, "properties": { "Client": { "title": "number", "type": "number" }, "Data": { "title": "Content Identifier", "type": "string" }, "Expiration": { "title": "number", "type": "number" }, "Provider": { "title": "number", "type": "number" }, "Size": { "title": "number", "type": "number" }, "TermMax": { "title": "number", "type": "number" }, "TermMin": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L2989" } }, { "name": "Filecoin.StateGetAllocationIdForPendingDeal", "description": "```go\nfunc (s *FullNodeStruct) StateGetAllocationIdForPendingDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (verifreg.AllocationId, error) {\n\tif s.Internal.StateGetAllocationIdForPendingDeal == nil {\n\t\treturn *new(verifreg.AllocationId), ErrNotSupported\n\t}\n\treturn s.Internal.StateGetAllocationIdForPendingDeal(p0, p1, p2)\n}\n```", "summary": "StateGetAllocationIdForPendingDeal is like StateGetAllocationForPendingDeal except it returns the allocation ID\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "abi.DealID", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 5432 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "verifreg.AllocationId", "description": "verifreg.AllocationId", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 0 ], "type": [ "number" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3000" } }, { "name": "Filecoin.StateGetAllocations", "description": "```go\nfunc (s *FullNodeStruct) StateGetAllocations(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.AllocationId]verifregtypes.Allocation, error) {\n\tif s.Internal.StateGetAllocations == nil {\n\t\treturn *new(map[verifregtypes.AllocationId]verifregtypes.Allocation), ErrNotSupported\n\t}\n\treturn s.Internal.StateGetAllocations(p0, p1, p2)\n}\n```", "summary": "StateGetAllocations returns the all the allocations for a given client.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "map[verifregtypes.AllocationId]verifregtypes.Allocation", "description": "map[verifregtypes.AllocationId]verifregtypes.Allocation", "summary": "", "schema": { "examples": [ {} ], "patternProperties": { ".*": { "additionalProperties": false, "properties": { "Client": { "title": "number", "type": "number" }, "Data": { "title": "Content Identifier", "type": "string" }, "Expiration": { "title": "number", "type": "number" }, "Provider": { "title": "number", "type": "number" }, "Size": { "title": "number", "type": "number" }, "TermMax": { "title": "number", "type": "number" }, "TermMin": { "title": "number", "type": "number" } }, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3011" } }, { "name": "Filecoin.StateGetBeaconEntry", "description": "```go\nfunc (s *FullNodeStruct) StateGetBeaconEntry(p0 context.Context, p1 abi.ChainEpoch) (*types.BeaconEntry, error) {\n\tif s.Internal.StateGetBeaconEntry == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateGetBeaconEntry(p0, p1)\n}\n```", "summary": "StateGetBeaconEntry returns the beacon entry for the given filecoin epoch. If\nthe entry has not yet been produced, the call will block until the entry\nbecomes available\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "abi.ChainEpoch", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 10101 ], "type": [ "number" ] }, "required": true, "deprecated": false } ], "result": { "name": "*types.BeaconEntry", "description": "*types.BeaconEntry", "summary": "", "schema": { "examples": [ { "Round": 42, "Data": "Ynl0ZSBhcnJheQ==" } ], "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Round": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3022" } }, { "name": "Filecoin.StateGetClaim", "description": "```go\nfunc (s *FullNodeStruct) StateGetClaim(p0 context.Context, p1 address.Address, p2 verifregtypes.ClaimId, p3 types.TipSetKey) (*verifregtypes.Claim, error) {\n\tif s.Internal.StateGetClaim == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateGetClaim(p0, p1, p2, p3)\n}\n```", "summary": "StateGetClaim returns the claim for a given address and claim ID.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "verifregtypes.ClaimId", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 0 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*verifregtypes.Claim", "description": "*verifregtypes.Claim", "summary": "", "schema": { "examples": [ { "Provider": 1000, "Client": 1000, "Data": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Size": 1032, "TermMin": 10101, "TermMax": 10101, "TermStart": 10101, "Sector": 9 } ], "additionalProperties": false, "properties": { "Client": { "title": "number", "type": "number" }, "Data": { "title": "Content Identifier", "type": "string" }, "Provider": { "title": "number", "type": "number" }, "Sector": { "title": "number", "type": "number" }, "Size": { "title": "number", "type": "number" }, "TermMax": { "title": "number", "type": "number" }, "TermMin": { "title": "number", "type": "number" }, "TermStart": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3033" } }, { "name": "Filecoin.StateGetClaims", "description": "```go\nfunc (s *FullNodeStruct) StateGetClaims(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (map[verifregtypes.ClaimId]verifregtypes.Claim, error) {\n\tif s.Internal.StateGetClaims == nil {\n\t\treturn *new(map[verifregtypes.ClaimId]verifregtypes.Claim), ErrNotSupported\n\t}\n\treturn s.Internal.StateGetClaims(p0, p1, p2)\n}\n```", "summary": "StateGetClaims returns the all the claims for a given provider.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "map[verifregtypes.ClaimId]verifregtypes.Claim", "description": "map[verifregtypes.ClaimId]verifregtypes.Claim", "summary": "", "schema": { "examples": [ {} ], "patternProperties": { ".*": { "additionalProperties": false, "properties": { "Client": { "title": "number", "type": "number" }, "Data": { "title": "Content Identifier", "type": "string" }, "Provider": { "title": "number", "type": "number" }, "Sector": { "title": "number", "type": "number" }, "Size": { "title": "number", "type": "number" }, "TermMax": { "title": "number", "type": "number" }, "TermMin": { "title": "number", "type": "number" }, "TermStart": { "title": "number", "type": "number" } }, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3044" } }, { "name": "Filecoin.StateGetNetworkParams", "description": "```go\nfunc (s *FullNodeStruct) StateGetNetworkParams(p0 context.Context) (*NetworkParams, error) {\n\tif s.Internal.StateGetNetworkParams == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateGetNetworkParams(p0)\n}\n```", "summary": "StateGetNetworkParams return current network params\n", "paramStructure": "by-position", "params": [], "result": { "name": "*NetworkParams", "description": "*NetworkParams", "summary": "", "schema": { "examples": [ { "NetworkName": "lotus", "BlockDelaySecs": 42, "ConsensusMinerMinPower": "0", "SupportedProofTypes": [ 8 ], "PreCommitChallengeDelay": 10101, "ForkUpgradeParams": { "UpgradeSmokeHeight": 10101, "UpgradeBreezeHeight": 10101, "UpgradeIgnitionHeight": 10101, "UpgradeLiftoffHeight": 10101, "UpgradeAssemblyHeight": 10101, "UpgradeRefuelHeight": 10101, "UpgradeTapeHeight": 10101, "UpgradeKumquatHeight": 10101, "BreezeGasTampingDuration": 10101, "UpgradeCalicoHeight": 10101, "UpgradePersianHeight": 10101, "UpgradeOrangeHeight": 10101, "UpgradeClausHeight": 10101, "UpgradeTrustHeight": 10101, "UpgradeNorwegianHeight": 10101, "UpgradeTurboHeight": 10101, "UpgradeHyperdriveHeight": 10101, "UpgradeChocolateHeight": 10101, "UpgradeOhSnapHeight": 10101, "UpgradeSkyrHeight": 10101, "UpgradeSharkHeight": 10101, "UpgradeHyggeHeight": 10101, "UpgradeLightningHeight": 10101, "UpgradeThunderHeight": 10101, "UpgradeWatermelonHeight": 10101, "UpgradeDragonHeight": 10101, "UpgradePhoenixHeight": 10101, "UpgradeAussieHeight": 10101 }, "Eip155ChainID": 123 } ], "additionalProperties": false, "properties": { "BlockDelaySecs": { "title": "number", "type": "number" }, "ConsensusMinerMinPower": { "additionalProperties": false, "type": "object" }, "Eip155ChainID": { "title": "number", "type": "number" }, "ForkUpgradeParams": { "additionalProperties": false, "properties": { "BreezeGasTampingDuration": { "title": "number", "type": "number" }, "UpgradeAssemblyHeight": { "title": "number", "type": "number" }, "UpgradeAussieHeight": { "title": "number", "type": "number" }, "UpgradeBreezeHeight": { "title": "number", "type": "number" }, "UpgradeCalicoHeight": { "title": "number", "type": "number" }, "UpgradeChocolateHeight": { "title": "number", "type": "number" }, "UpgradeClausHeight": { "title": "number", "type": "number" }, "UpgradeDragonHeight": { "title": "number", "type": "number" }, "UpgradeHyggeHeight": { "title": "number", "type": "number" }, "UpgradeHyperdriveHeight": { "title": "number", "type": "number" }, "UpgradeIgnitionHeight": { "title": "number", "type": "number" }, "UpgradeKumquatHeight": { "title": "number", "type": "number" }, "UpgradeLiftoffHeight": { "title": "number", "type": "number" }, "UpgradeLightningHeight": { "title": "number", "type": "number" }, "UpgradeNorwegianHeight": { "title": "number", "type": "number" }, "UpgradeOhSnapHeight": { "title": "number", "type": "number" }, "UpgradeOrangeHeight": { "title": "number", "type": "number" }, "UpgradePersianHeight": { "title": "number", "type": "number" }, "UpgradePhoenixHeight": { "title": "number", "type": "number" }, "UpgradeRefuelHeight": { "title": "number", "type": "number" }, "UpgradeSharkHeight": { "title": "number", "type": "number" }, "UpgradeSkyrHeight": { "title": "number", "type": "number" }, "UpgradeSmokeHeight": { "title": "number", "type": "number" }, "UpgradeTapeHeight": { "title": "number", "type": "number" }, "UpgradeThunderHeight": { "title": "number", "type": "number" }, "UpgradeTrustHeight": { "title": "number", "type": "number" }, "UpgradeTurboHeight": { "title": "number", "type": "number" }, "UpgradeWatermelonHeight": { "title": "number", "type": "number" } }, "type": "object" }, "NetworkName": { "type": "string" }, "PreCommitChallengeDelay": { "title": "number", "type": "number" }, "SupportedProofTypes": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3055" } }, { "name": "Filecoin.StateGetRandomnessDigestFromBeacon", "description": "```go\nfunc (s *FullNodeStruct) StateGetRandomnessDigestFromBeacon(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (abi.Randomness, error) {\n\tif s.Internal.StateGetRandomnessDigestFromBeacon == nil {\n\t\treturn *new(abi.Randomness), ErrNotSupported\n\t}\n\treturn s.Internal.StateGetRandomnessDigestFromBeacon(p0, p1, p2)\n}\n```", "summary": "StateGetRandomnessDigestFromBeacon is used to sample the beacon for randomness.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "abi.ChainEpoch", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 10101 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "abi.Randomness", "description": "abi.Randomness", "summary": "", "schema": { "examples": [ "Bw==" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3066" } }, { "name": "Filecoin.StateGetRandomnessDigestFromTickets", "description": "```go\nfunc (s *FullNodeStruct) StateGetRandomnessDigestFromTickets(p0 context.Context, p1 abi.ChainEpoch, p2 types.TipSetKey) (abi.Randomness, error) {\n\tif s.Internal.StateGetRandomnessDigestFromTickets == nil {\n\t\treturn *new(abi.Randomness), ErrNotSupported\n\t}\n\treturn s.Internal.StateGetRandomnessDigestFromTickets(p0, p1, p2)\n}\n```", "summary": "StateGetRandomnessDigestFromTickets. is used to sample the chain for randomness.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "abi.ChainEpoch", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 10101 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "abi.Randomness", "description": "abi.Randomness", "summary": "", "schema": { "examples": [ "Bw==" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3077" } }, { "name": "Filecoin.StateGetRandomnessFromBeacon", "description": "```go\nfunc (s *FullNodeStruct) StateGetRandomnessFromBeacon(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error) {\n\tif s.Internal.StateGetRandomnessFromBeacon == nil {\n\t\treturn *new(abi.Randomness), ErrNotSupported\n\t}\n\treturn s.Internal.StateGetRandomnessFromBeacon(p0, p1, p2, p3, p4)\n}\n```", "summary": "StateGetRandomnessFromBeacon is used to sample the beacon for randomness.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "crypto.DomainSeparationTag", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 2 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "abi.ChainEpoch", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 10101 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "[]byte", "summary": "", "schema": { "examples": [ "Ynl0ZSBhcnJheQ==" ], "type": [ "string" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "abi.Randomness", "description": "abi.Randomness", "summary": "", "schema": { "examples": [ "Bw==" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3088" } }, { "name": "Filecoin.StateGetRandomnessFromTickets", "description": "```go\nfunc (s *FullNodeStruct) StateGetRandomnessFromTickets(p0 context.Context, p1 crypto.DomainSeparationTag, p2 abi.ChainEpoch, p3 []byte, p4 types.TipSetKey) (abi.Randomness, error) {\n\tif s.Internal.StateGetRandomnessFromTickets == nil {\n\t\treturn *new(abi.Randomness), ErrNotSupported\n\t}\n\treturn s.Internal.StateGetRandomnessFromTickets(p0, p1, p2, p3, p4)\n}\n```", "summary": "StateGetRandomnessFromTickets is used to sample the chain for randomness.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "crypto.DomainSeparationTag", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 2 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "abi.ChainEpoch", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 10101 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "[]byte", "summary": "", "schema": { "examples": [ "Ynl0ZSBhcnJheQ==" ], "type": [ "string" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "abi.Randomness", "description": "abi.Randomness", "summary": "", "schema": { "examples": [ "Bw==" ], "items": [ { "title": "number", "description": "Number is a number", "type": [ "number" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3099" } }, { "name": "Filecoin.StateListActors", "description": "```go\nfunc (s *FullNodeStruct) StateListActors(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error) {\n\tif s.Internal.StateListActors == nil {\n\t\treturn *new([]address.Address), ErrNotSupported\n\t}\n\treturn s.Internal.StateListActors(p0, p1)\n}\n```", "summary": "StateListActors returns the addresses of every actor in the state\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]address.Address", "description": "[]address.Address", "summary": "", "schema": { "examples": [ [ "f01234" ] ], "items": [ { "additionalProperties": false, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3110" } }, { "name": "Filecoin.StateListMessages", "description": "```go\nfunc (s *FullNodeStruct) StateListMessages(p0 context.Context, p1 *MessageMatch, p2 types.TipSetKey, p3 abi.ChainEpoch) ([]cid.Cid, error) {\n\tif s.Internal.StateListMessages == nil {\n\t\treturn *new([]cid.Cid), ErrNotSupported\n\t}\n\treturn s.Internal.StateListMessages(p0, p1, p2, p3)\n}\n```", "summary": "StateListMessages looks back and returns all messages with a matching to or from address, stopping at the given height.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "*MessageMatch", "summary": "", "schema": { "examples": [ { "To": "f01234", "From": "f01234" } ], "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "To": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "abi.ChainEpoch", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 10101 ], "type": [ "number" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]cid.Cid", "description": "[]cid.Cid", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ] ], "items": [ { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "type": [ "string" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3121" } }, { "name": "Filecoin.StateListMiners", "description": "```go\nfunc (s *FullNodeStruct) StateListMiners(p0 context.Context, p1 types.TipSetKey) ([]address.Address, error) {\n\tif s.Internal.StateListMiners == nil {\n\t\treturn *new([]address.Address), ErrNotSupported\n\t}\n\treturn s.Internal.StateListMiners(p0, p1)\n}\n```", "summary": "StateListMiners returns the addresses of every miner that has claimed power in the Power Actor\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]address.Address", "description": "[]address.Address", "summary": "", "schema": { "examples": [ [ "f01234" ] ], "items": [ { "additionalProperties": false, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3132" } }, { "name": "Filecoin.StateLookupID", "description": "```go\nfunc (s *FullNodeStruct) StateLookupID(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error) {\n\tif s.Internal.StateLookupID == nil {\n\t\treturn *new(address.Address), ErrNotSupported\n\t}\n\treturn s.Internal.StateLookupID(p0, p1, p2)\n}\n```", "summary": "StateLookupID retrieves the ID address of the given address\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "address.Address", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3143" } }, { "name": "Filecoin.StateLookupRobustAddress", "description": "```go\nfunc (s *FullNodeStruct) StateLookupRobustAddress(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error) {\n\tif s.Internal.StateLookupRobustAddress == nil {\n\t\treturn *new(address.Address), ErrNotSupported\n\t}\n\treturn s.Internal.StateLookupRobustAddress(p0, p1, p2)\n}\n```", "summary": "StateLookupRobustAddress returns the public key address of the given ID address for non-account addresses (multisig, miners etc)\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "address.Address", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3154" } }, { "name": "Filecoin.StateMarketBalance", "description": "```go\nfunc (s *FullNodeStruct) StateMarketBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MarketBalance, error) {\n\tif s.Internal.StateMarketBalance == nil {\n\t\treturn *new(MarketBalance), ErrNotSupported\n\t}\n\treturn s.Internal.StateMarketBalance(p0, p1, p2)\n}\n```", "summary": "StateMarketBalance looks up the Escrow and Locked balances of the given address in the Storage Market\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "MarketBalance", "description": "MarketBalance", "summary": "", "schema": { "examples": [ { "Escrow": "0", "Locked": "0" } ], "additionalProperties": false, "properties": { "Escrow": { "additionalProperties": false, "type": "object" }, "Locked": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3165" } }, { "name": "Filecoin.StateMarketDeals", "description": "```go\nfunc (s *FullNodeStruct) StateMarketDeals(p0 context.Context, p1 types.TipSetKey) (map[string]*MarketDeal, error) {\n\tif s.Internal.StateMarketDeals == nil {\n\t\treturn *new(map[string]*MarketDeal), ErrNotSupported\n\t}\n\treturn s.Internal.StateMarketDeals(p0, p1)\n}\n```", "summary": "StateMarketDeals returns information about every deal in the Storage Market\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "map[string]*MarketDeal", "description": "map[string]*MarketDeal", "summary": "", "schema": { "examples": [ { "t026363": { "Proposal": { "PieceCID": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "PieceSize": 1032, "VerifiedDeal": true, "Client": "f01234", "Provider": "f01234", "Label": "", "StartEpoch": 10101, "EndEpoch": 10101, "StoragePricePerEpoch": "0", "ProviderCollateral": "0", "ClientCollateral": "0" }, "State": { "SectorNumber": 9, "SectorStartEpoch": 10101, "LastUpdatedEpoch": 10101, "SlashEpoch": 10101 } } } ], "patternProperties": { ".*": { "additionalProperties": false, "properties": { "Proposal": { "additionalProperties": false, "properties": { "Client": { "additionalProperties": false, "type": "object" }, "ClientCollateral": { "additionalProperties": false, "type": "object" }, "EndEpoch": { "title": "number", "type": "number" }, "Label": { "additionalProperties": false, "type": "object" }, "PieceCID": { "title": "Content Identifier", "type": "string" }, "PieceSize": { "title": "number", "type": "number" }, "Provider": { "additionalProperties": false, "type": "object" }, "ProviderCollateral": { "additionalProperties": false, "type": "object" }, "StartEpoch": { "title": "number", "type": "number" }, "StoragePricePerEpoch": { "additionalProperties": false, "type": "object" }, "VerifiedDeal": { "type": "boolean" } }, "type": "object" }, "State": { "additionalProperties": false, "properties": { "LastUpdatedEpoch": { "title": "number", "type": "number" }, "SectorNumber": { "title": "number", "type": "number" }, "SectorStartEpoch": { "title": "number", "type": "number" }, "SlashEpoch": { "title": "number", "type": "number" } }, "type": "object" } }, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3176" } }, { "name": "Filecoin.StateMarketParticipants", "description": "```go\nfunc (s *FullNodeStruct) StateMarketParticipants(p0 context.Context, p1 types.TipSetKey) (map[string]MarketBalance, error) {\n\tif s.Internal.StateMarketParticipants == nil {\n\t\treturn *new(map[string]MarketBalance), ErrNotSupported\n\t}\n\treturn s.Internal.StateMarketParticipants(p0, p1)\n}\n```", "summary": "StateMarketParticipants returns the Escrow and Locked balances of every participant in the Storage Market\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "map[string]MarketBalance", "description": "map[string]MarketBalance", "summary": "", "schema": { "examples": [ { "t026363": { "Escrow": "0", "Locked": "0" } } ], "patternProperties": { ".*": { "additionalProperties": false, "properties": { "Escrow": { "additionalProperties": false, "type": "object" }, "Locked": { "additionalProperties": false, "type": "object" } }, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3187" } }, { "name": "Filecoin.StateMarketStorageDeal", "description": "```go\nfunc (s *FullNodeStruct) StateMarketStorageDeal(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*MarketDeal, error) {\n\tif s.Internal.StateMarketStorageDeal == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateMarketStorageDeal(p0, p1, p2)\n}\n```", "summary": "StateMarketStorageDeal returns information about the indicated deal\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "abi.DealID", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 5432 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*MarketDeal", "description": "*MarketDeal", "summary": "", "schema": { "examples": [ { "Proposal": { "PieceCID": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "PieceSize": 1032, "VerifiedDeal": true, "Client": "f01234", "Provider": "f01234", "Label": "", "StartEpoch": 10101, "EndEpoch": 10101, "StoragePricePerEpoch": "0", "ProviderCollateral": "0", "ClientCollateral": "0" }, "State": { "SectorNumber": 9, "SectorStartEpoch": 10101, "LastUpdatedEpoch": 10101, "SlashEpoch": 10101 } } ], "additionalProperties": false, "properties": { "Proposal": { "additionalProperties": false, "properties": { "Client": { "additionalProperties": false, "type": "object" }, "ClientCollateral": { "additionalProperties": false, "type": "object" }, "EndEpoch": { "title": "number", "type": "number" }, "Label": { "additionalProperties": false, "type": "object" }, "PieceCID": { "title": "Content Identifier", "type": "string" }, "PieceSize": { "title": "number", "type": "number" }, "Provider": { "additionalProperties": false, "type": "object" }, "ProviderCollateral": { "additionalProperties": false, "type": "object" }, "StartEpoch": { "title": "number", "type": "number" }, "StoragePricePerEpoch": { "additionalProperties": false, "type": "object" }, "VerifiedDeal": { "type": "boolean" } }, "type": "object" }, "State": { "additionalProperties": false, "properties": { "LastUpdatedEpoch": { "title": "number", "type": "number" }, "SectorNumber": { "title": "number", "type": "number" }, "SectorStartEpoch": { "title": "number", "type": "number" }, "SlashEpoch": { "title": "number", "type": "number" } }, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3198" } }, { "name": "Filecoin.StateMinerActiveSectors", "description": "```go\nfunc (s *FullNodeStruct) StateMinerActiveSectors(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]*miner.SectorOnChainInfo, error) {\n\tif s.Internal.StateMinerActiveSectors == nil {\n\t\treturn *new([]*miner.SectorOnChainInfo), ErrNotSupported\n\t}\n\treturn s.Internal.StateMinerActiveSectors(p0, p1, p2)\n}\n```", "summary": "StateMinerActiveSectors returns info about sectors that a given miner is actively proving.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]*miner.SectorOnChainInfo", "description": "[]*miner.SectorOnChainInfo", "summary": "", "schema": { "examples": [ [ { "SectorNumber": 9, "SealProof": 8, "SealedCID": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "DealIDs": [ 5432 ], "Activation": 10101, "Expiration": 10101, "DealWeight": "0", "VerifiedDealWeight": "0", "InitialPledge": "0", "ExpectedDayReward": "0", "ExpectedStoragePledge": "0", "PowerBaseEpoch": 10101, "ReplacedDayReward": "0", "SectorKeyCID": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Flags": 0 } ] ], "items": [ { "additionalProperties": false, "properties": { "Activation": { "title": "number", "type": "number" }, "DealIDs": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "DealWeight": { "additionalProperties": false, "type": "object" }, "ExpectedDayReward": { "additionalProperties": false, "type": "object" }, "ExpectedStoragePledge": { "additionalProperties": false, "type": "object" }, "Expiration": { "title": "number", "type": "number" }, "Flags": { "title": "number", "type": "number" }, "InitialPledge": { "additionalProperties": false, "type": "object" }, "PowerBaseEpoch": { "title": "number", "type": "number" }, "ReplacedDayReward": { "additionalProperties": false, "type": "object" }, "SealProof": { "title": "number", "type": "number" }, "SealedCID": { "title": "Content Identifier", "type": "string" }, "SectorKeyCID": { "title": "Content Identifier", "type": "string" }, "SectorNumber": { "title": "number", "type": "number" }, "VerifiedDealWeight": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3209" } }, { "name": "Filecoin.StateMinerAllocated", "description": "```go\nfunc (s *FullNodeStruct) StateMinerAllocated(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*bitfield.BitField, error) {\n\tif s.Internal.StateMinerAllocated == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateMinerAllocated(p0, p1, p2)\n}\n```", "summary": "StateMinerAllocated returns a bitfield containing all sector numbers marked as allocated in miner state\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*bitfield.BitField", "description": "*bitfield.BitField", "summary": "", "schema": { "examples": [ [ 0 ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3220" } }, { "name": "Filecoin.StateMinerAvailableBalance", "description": "```go\nfunc (s *FullNodeStruct) StateMinerAvailableBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (types.BigInt, error) {\n\tif s.Internal.StateMinerAvailableBalance == nil {\n\t\treturn *new(types.BigInt), ErrNotSupported\n\t}\n\treturn s.Internal.StateMinerAvailableBalance(p0, p1, p2)\n}\n```", "summary": "StateMinerAvailableBalance returns the portion of a miner's balance that can be withdrawn or spent\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "types.BigInt", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3231" } }, { "name": "Filecoin.StateMinerDeadlines", "description": "```go\nfunc (s *FullNodeStruct) StateMinerDeadlines(p0 context.Context, p1 address.Address, p2 types.TipSetKey) ([]Deadline, error) {\n\tif s.Internal.StateMinerDeadlines == nil {\n\t\treturn *new([]Deadline), ErrNotSupported\n\t}\n\treturn s.Internal.StateMinerDeadlines(p0, p1, p2)\n}\n```", "summary": "StateMinerDeadlines returns all the proving deadlines for the given miner\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]Deadline", "description": "[]Deadline", "summary": "", "schema": { "examples": [ [ { "PostSubmissions": [ 5, 1 ], "DisputableProofCount": 42 } ] ], "items": [ { "additionalProperties": false, "properties": { "DisputableProofCount": { "title": "number", "type": "number" }, "PostSubmissions": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3242" } }, { "name": "Filecoin.StateMinerFaults", "description": "```go\nfunc (s *FullNodeStruct) StateMinerFaults(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error) {\n\tif s.Internal.StateMinerFaults == nil {\n\t\treturn *new(bitfield.BitField), ErrNotSupported\n\t}\n\treturn s.Internal.StateMinerFaults(p0, p1, p2)\n}\n```", "summary": "StateMinerFaults returns a bitfield indicating the faulty sectors of the given miner\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "bitfield.BitField", "description": "bitfield.BitField", "summary": "", "schema": { "examples": [ [ 5, 1 ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3253" } }, { "name": "Filecoin.StateMinerInfo", "description": "```go\nfunc (s *FullNodeStruct) StateMinerInfo(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerInfo, error) {\n\tif s.Internal.StateMinerInfo == nil {\n\t\treturn *new(MinerInfo), ErrNotSupported\n\t}\n\treturn s.Internal.StateMinerInfo(p0, p1, p2)\n}\n```", "summary": "StateMinerInfo returns info about the indicated miner\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "MinerInfo", "description": "MinerInfo", "summary": "", "schema": { "examples": [ { "Owner": "f01234", "Worker": "f01234", "NewWorker": "f01234", "ControlAddresses": [ "f01234" ], "WorkerChangeEpoch": 10101, "PeerId": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf", "Multiaddrs": [ "Ynl0ZSBhcnJheQ==" ], "WindowPoStProofType": 8, "SectorSize": 34359738368, "WindowPoStPartitionSectors": 42, "ConsensusFaultElapsed": 10101, "PendingOwnerAddress": "f01234", "Beneficiary": "f01234", "BeneficiaryTerm": { "Quota": "0", "UsedQuota": "0", "Expiration": 10101 }, "PendingBeneficiaryTerm": { "NewBeneficiary": "f01234", "NewQuota": "0", "NewExpiration": 10101, "ApprovedByBeneficiary": true, "ApprovedByNominee": true } } ], "additionalProperties": false, "properties": { "Beneficiary": { "additionalProperties": false, "type": "object" }, "BeneficiaryTerm": { "additionalProperties": false, "properties": { "Expiration": { "title": "number", "type": "number" }, "Quota": { "additionalProperties": false, "type": "object" }, "UsedQuota": { "additionalProperties": false, "type": "object" } }, "type": "object" }, "ConsensusFaultElapsed": { "title": "number", "type": "number" }, "ControlAddresses": { "items": { "additionalProperties": false, "type": "object" }, "type": "array" }, "Multiaddrs": { "items": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "type": "array" }, "NewWorker": { "additionalProperties": false, "type": "object" }, "Owner": { "additionalProperties": false, "type": "object" }, "PeerId": { "type": "string" }, "PendingBeneficiaryTerm": { "additionalProperties": false, "properties": { "ApprovedByBeneficiary": { "type": "boolean" }, "ApprovedByNominee": { "type": "boolean" }, "NewBeneficiary": { "additionalProperties": false, "type": "object" }, "NewExpiration": { "title": "number", "type": "number" }, "NewQuota": { "additionalProperties": false, "type": "object" } }, "type": "object" }, "PendingOwnerAddress": { "additionalProperties": false, "type": "object" }, "SectorSize": { "title": "number", "type": "number" }, "WindowPoStPartitionSectors": { "title": "number", "type": "number" }, "WindowPoStProofType": { "title": "number", "type": "number" }, "Worker": { "additionalProperties": false, "type": "object" }, "WorkerChangeEpoch": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3264" } }, { "name": "Filecoin.StateMinerInitialPledgeCollateral", "description": "```go\nfunc (s *FullNodeStruct) StateMinerInitialPledgeCollateral(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, p3 types.TipSetKey) (types.BigInt, error) {\n\tif s.Internal.StateMinerInitialPledgeCollateral == nil {\n\t\treturn *new(types.BigInt), ErrNotSupported\n\t}\n\treturn s.Internal.StateMinerInitialPledgeCollateral(p0, p1, p2, p3)\n}\n```", "summary": "StateMinerInitialPledgeCollateral returns the initial pledge collateral for the specified miner's sector\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "miner.SectorPreCommitInfo", "summary": "", "schema": { "examples": [ { "SealProof": 8, "SectorNumber": 9, "SealedCID": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "SealRandEpoch": 10101, "DealIDs": [ 5432 ], "Expiration": 10101, "UnsealedCid": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } } ], "additionalProperties": false, "properties": { "DealIDs": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "Expiration": { "title": "number", "type": "number" }, "SealProof": { "title": "number", "type": "number" }, "SealRandEpoch": { "title": "number", "type": "number" }, "SealedCID": { "title": "Content Identifier", "type": "string" }, "SectorNumber": { "title": "number", "type": "number" }, "UnsealedCid": { "title": "Content Identifier", "type": "string" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "types.BigInt", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3275" } }, { "name": "Filecoin.StateMinerPartitions", "description": "```go\nfunc (s *FullNodeStruct) StateMinerPartitions(p0 context.Context, p1 address.Address, p2 uint64, p3 types.TipSetKey) ([]Partition, error) {\n\tif s.Internal.StateMinerPartitions == nil {\n\t\treturn *new([]Partition), ErrNotSupported\n\t}\n\treturn s.Internal.StateMinerPartitions(p0, p1, p2, p3)\n}\n```", "summary": "StateMinerPartitions returns all partitions in the specified deadline\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "uint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 42 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]Partition", "description": "[]Partition", "summary": "", "schema": { "examples": [ [ { "AllSectors": [ 5, 1 ], "FaultySectors": [ 5, 1 ], "RecoveringSectors": [ 5, 1 ], "LiveSectors": [ 5, 1 ], "ActiveSectors": [ 5, 1 ] } ] ], "items": [ { "additionalProperties": false, "properties": { "ActiveSectors": { "additionalProperties": false, "type": "object" }, "AllSectors": { "additionalProperties": false, "type": "object" }, "FaultySectors": { "additionalProperties": false, "type": "object" }, "LiveSectors": { "additionalProperties": false, "type": "object" }, "RecoveringSectors": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3286" } }, { "name": "Filecoin.StateMinerPower", "description": "```go\nfunc (s *FullNodeStruct) StateMinerPower(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*MinerPower, error) {\n\tif s.Internal.StateMinerPower == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateMinerPower(p0, p1, p2)\n}\n```", "summary": "StateMinerPower returns the power of the indicated miner\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*MinerPower", "description": "*MinerPower", "summary": "", "schema": { "examples": [ { "MinerPower": { "RawBytePower": "0", "QualityAdjPower": "0" }, "TotalPower": { "RawBytePower": "0", "QualityAdjPower": "0" }, "HasMinPower": true } ], "additionalProperties": false, "properties": { "HasMinPower": { "type": "boolean" }, "MinerPower": { "additionalProperties": false, "properties": { "QualityAdjPower": { "additionalProperties": false, "type": "object" }, "RawBytePower": { "additionalProperties": false, "type": "object" } }, "type": "object" }, "TotalPower": { "additionalProperties": false, "properties": { "QualityAdjPower": { "additionalProperties": false, "type": "object" }, "RawBytePower": { "additionalProperties": false, "type": "object" } }, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3297" } }, { "name": "Filecoin.StateMinerPreCommitDepositForPower", "description": "```go\nfunc (s *FullNodeStruct) StateMinerPreCommitDepositForPower(p0 context.Context, p1 address.Address, p2 miner.SectorPreCommitInfo, p3 types.TipSetKey) (types.BigInt, error) {\n\tif s.Internal.StateMinerPreCommitDepositForPower == nil {\n\t\treturn *new(types.BigInt), ErrNotSupported\n\t}\n\treturn s.Internal.StateMinerPreCommitDepositForPower(p0, p1, p2, p3)\n}\n```", "summary": "StateMinerInitialPledgeCollateral returns the precommit deposit for the specified miner's sector\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "miner.SectorPreCommitInfo", "summary": "", "schema": { "examples": [ { "SealProof": 8, "SectorNumber": 9, "SealedCID": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "SealRandEpoch": 10101, "DealIDs": [ 5432 ], "Expiration": 10101, "UnsealedCid": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } } ], "additionalProperties": false, "properties": { "DealIDs": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "Expiration": { "title": "number", "type": "number" }, "SealProof": { "title": "number", "type": "number" }, "SealRandEpoch": { "title": "number", "type": "number" }, "SealedCID": { "title": "Content Identifier", "type": "string" }, "SectorNumber": { "title": "number", "type": "number" }, "UnsealedCid": { "title": "Content Identifier", "type": "string" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "types.BigInt", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3308" } }, { "name": "Filecoin.StateMinerProvingDeadline", "description": "```go\nfunc (s *FullNodeStruct) StateMinerProvingDeadline(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*dline.Info, error) {\n\tif s.Internal.StateMinerProvingDeadline == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateMinerProvingDeadline(p0, p1, p2)\n}\n```", "summary": "StateMinerProvingDeadline calculates the deadline at some epoch for a proving period\nand returns the deadline-related calculations.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*dline.Info", "description": "*dline.Info", "summary": "", "schema": { "examples": [ { "CurrentEpoch": 10101, "PeriodStart": 10101, "Index": 42, "Open": 10101, "Close": 10101, "Challenge": 10101, "FaultCutoff": 10101, "WPoStPeriodDeadlines": 42, "WPoStProvingPeriod": 10101, "WPoStChallengeWindow": 10101, "WPoStChallengeLookback": 10101, "FaultDeclarationCutoff": 10101 } ], "additionalProperties": false, "properties": { "Challenge": { "title": "number", "type": "number" }, "Close": { "title": "number", "type": "number" }, "CurrentEpoch": { "title": "number", "type": "number" }, "FaultCutoff": { "title": "number", "type": "number" }, "FaultDeclarationCutoff": { "title": "number", "type": "number" }, "Index": { "title": "number", "type": "number" }, "Open": { "title": "number", "type": "number" }, "PeriodStart": { "title": "number", "type": "number" }, "WPoStChallengeLookback": { "title": "number", "type": "number" }, "WPoStChallengeWindow": { "title": "number", "type": "number" }, "WPoStPeriodDeadlines": { "title": "number", "type": "number" }, "WPoStProvingPeriod": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3319" } }, { "name": "Filecoin.StateMinerRecoveries", "description": "```go\nfunc (s *FullNodeStruct) StateMinerRecoveries(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (bitfield.BitField, error) {\n\tif s.Internal.StateMinerRecoveries == nil {\n\t\treturn *new(bitfield.BitField), ErrNotSupported\n\t}\n\treturn s.Internal.StateMinerRecoveries(p0, p1, p2)\n}\n```", "summary": "StateMinerRecoveries returns a bitfield indicating the recovering sectors of the given miner\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "bitfield.BitField", "description": "bitfield.BitField", "summary": "", "schema": { "examples": [ [ 5, 1 ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3330" } }, { "name": "Filecoin.StateMinerSectorAllocated", "description": "```go\nfunc (s *FullNodeStruct) StateMinerSectorAllocated(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (bool, error) {\n\tif s.Internal.StateMinerSectorAllocated == nil {\n\t\treturn false, ErrNotSupported\n\t}\n\treturn s.Internal.StateMinerSectorAllocated(p0, p1, p2, p3)\n}\n```", "summary": "StateMinerSectorAllocated checks if a sector number is marked as allocated.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "abi.SectorNumber", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 9 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "bool", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3341" } }, { "name": "Filecoin.StateMinerSectorCount", "description": "```go\nfunc (s *FullNodeStruct) StateMinerSectorCount(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MinerSectors, error) {\n\tif s.Internal.StateMinerSectorCount == nil {\n\t\treturn *new(MinerSectors), ErrNotSupported\n\t}\n\treturn s.Internal.StateMinerSectorCount(p0, p1, p2)\n}\n```", "summary": "StateMinerSectorCount returns the number of sectors in a miner's sector set and proving set\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "MinerSectors", "description": "MinerSectors", "summary": "", "schema": { "examples": [ { "Live": 42, "Active": 42, "Faulty": 42 } ], "additionalProperties": false, "properties": { "Active": { "title": "number", "type": "number" }, "Faulty": { "title": "number", "type": "number" }, "Live": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3352" } }, { "name": "Filecoin.StateMinerSectors", "description": "```go\nfunc (s *FullNodeStruct) StateMinerSectors(p0 context.Context, p1 address.Address, p2 *bitfield.BitField, p3 types.TipSetKey) ([]*miner.SectorOnChainInfo, error) {\n\tif s.Internal.StateMinerSectors == nil {\n\t\treturn *new([]*miner.SectorOnChainInfo), ErrNotSupported\n\t}\n\treturn s.Internal.StateMinerSectors(p0, p1, p2, p3)\n}\n```", "summary": "StateMinerSectors returns info about the given miner's sectors. If the filter bitfield is nil, all sectors are included.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "*bitfield.BitField", "summary": "", "schema": { "examples": [ [ 0 ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "[]*miner.SectorOnChainInfo", "description": "[]*miner.SectorOnChainInfo", "summary": "", "schema": { "examples": [ [ { "SectorNumber": 9, "SealProof": 8, "SealedCID": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "DealIDs": [ 5432 ], "Activation": 10101, "Expiration": 10101, "DealWeight": "0", "VerifiedDealWeight": "0", "InitialPledge": "0", "ExpectedDayReward": "0", "ExpectedStoragePledge": "0", "PowerBaseEpoch": 10101, "ReplacedDayReward": "0", "SectorKeyCID": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Flags": 0 } ] ], "items": [ { "additionalProperties": false, "properties": { "Activation": { "title": "number", "type": "number" }, "DealIDs": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "DealWeight": { "additionalProperties": false, "type": "object" }, "ExpectedDayReward": { "additionalProperties": false, "type": "object" }, "ExpectedStoragePledge": { "additionalProperties": false, "type": "object" }, "Expiration": { "title": "number", "type": "number" }, "Flags": { "title": "number", "type": "number" }, "InitialPledge": { "additionalProperties": false, "type": "object" }, "PowerBaseEpoch": { "title": "number", "type": "number" }, "ReplacedDayReward": { "additionalProperties": false, "type": "object" }, "SealProof": { "title": "number", "type": "number" }, "SealedCID": { "title": "Content Identifier", "type": "string" }, "SectorKeyCID": { "title": "Content Identifier", "type": "string" }, "SectorNumber": { "title": "number", "type": "number" }, "VerifiedDealWeight": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3363" } }, { "name": "Filecoin.StateNetworkName", "description": "```go\nfunc (s *FullNodeStruct) StateNetworkName(p0 context.Context) (dtypes.NetworkName, error) {\n\tif s.Internal.StateNetworkName == nil {\n\t\treturn *new(dtypes.NetworkName), ErrNotSupported\n\t}\n\treturn s.Internal.StateNetworkName(p0)\n}\n```", "summary": "StateNetworkName returns the name of the network the node is synced to\n", "paramStructure": "by-position", "params": [], "result": { "name": "dtypes.NetworkName", "description": "dtypes.NetworkName", "summary": "", "schema": { "examples": [ "lotus" ], "type": [ "string" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3374" } }, { "name": "Filecoin.StateNetworkVersion", "description": "```go\nfunc (s *FullNodeStruct) StateNetworkVersion(p0 context.Context, p1 types.TipSetKey) (apitypes.NetworkVersion, error) {\n\tif s.Internal.StateNetworkVersion == nil {\n\t\treturn *new(apitypes.NetworkVersion), ErrNotSupported\n\t}\n\treturn s.Internal.StateNetworkVersion(p0, p1)\n}\n```", "summary": "StateNetworkVersion returns the network version at the given tipset\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "apitypes.NetworkVersion", "description": "apitypes.NetworkVersion", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 23 ], "type": [ "number" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3385" } }, { "name": "Filecoin.StateReadState", "description": "```go\nfunc (s *FullNodeStruct) StateReadState(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*ActorState, error) {\n\tif s.Internal.StateReadState == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateReadState(p0, p1, p2)\n}\n```", "summary": "StateReadState returns the indicated actor's state.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*ActorState", "description": "*ActorState", "summary": "", "schema": { "examples": [ { "Balance": "0", "Code": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "State": {} } ], "additionalProperties": false, "properties": { "Balance": { "additionalProperties": false, "type": "object" }, "Code": { "title": "Content Identifier", "type": "string" }, "State": { "additionalProperties": true, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3396" } }, { "name": "Filecoin.StateReplay", "description": "```go\nfunc (s *FullNodeStruct) StateReplay(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid) (*InvocResult, error) {\n\tif s.Internal.StateReplay == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateReplay(p0, p1, p2)\n}\n```", "summary": "StateReplay replays a given message, assuming it was included in a block in the specified tipset.\n\nIf a tipset key is provided, and a replacing message is not found on chain,\nthe method will return an error saying that the message wasn't found\n\nIf no tipset key is provided, the appropriate tipset is looked up, and if\nthe message was gas-repriced, the on-chain message will be replayed - in\nthat case the returned InvocResult.MsgCid will not match the Cid param\n\nIf the caller wants to ensure that exactly the requested message was executed,\nthey MUST check that InvocResult.MsgCid is equal to the provided Cid.\nWithout this check both the requested and original message may appear as\nsuccessfully executed on-chain, which may look like a double-spend.\n\nA replacing message is a message with a different CID, any of Gas values, and\ndifferent signature, but with all other parameters matching (source/destination,\nnonce, params, etc.)\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "*InvocResult", "description": "*InvocResult", "summary": "", "schema": { "examples": [ { "MsgCid": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Msg": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "MsgRct": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", "GasUsed": 9, "EventsRoot": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } }, "GasCost": { "Message": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "GasUsed": "0", "BaseFeeBurn": "0", "OverEstimationBurn": "0", "MinerPenalty": "0", "MinerTip": "0", "Refund": "0", "TotalCost": "0" }, "ExecutionTrace": { "Msg": { "From": "f01234", "To": "f01234", "Value": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "ParamsCodec": 42, "GasLimit": 42, "ReadOnly": true }, "MsgRct": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", "ReturnCodec": 42 }, "InvokedActor": { "Id": 1000, "State": { "Code": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Head": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Nonce": 42, "Balance": "0", "Address": "f01234" } }, "GasCharges": [ { "Name": "string value", "tg": 9, "cg": 9, "sg": 9, "tt": 60000000000 } ], "Subcalls": [ { "Msg": { "From": "f01234", "To": "f01234", "Value": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "ParamsCodec": 42, "GasLimit": 42, "ReadOnly": true }, "MsgRct": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", "ReturnCodec": 42 }, "InvokedActor": { "Id": 1000, "State": { "Code": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Head": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Nonce": 42, "Balance": "0", "Address": "f01234" } }, "GasCharges": [ { "Name": "string value", "tg": 9, "cg": 9, "sg": 9, "tt": 60000000000 } ], "Subcalls": null } ] }, "Error": "string value", "Duration": 60000000000 } ], "additionalProperties": false, "properties": { "Duration": { "title": "number", "type": "number" }, "Error": { "type": "string" }, "ExecutionTrace": { "additionalProperties": false, "properties": { "GasCharges": { "items": { "additionalProperties": false, "properties": { "Name": { "type": "string" }, "cg": { "title": "number", "type": "number" }, "sg": { "title": "number", "type": "number" }, "tg": { "title": "number", "type": "number" }, "tt": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "InvokedActor": { "additionalProperties": false, "properties": { "Id": { "title": "number", "type": "number" }, "State": { "additionalProperties": false, "properties": { "Address": { "additionalProperties": false, "type": "object" }, "Balance": { "additionalProperties": false, "type": "object" }, "Code": { "title": "Content Identifier", "type": "string" }, "Head": { "title": "Content Identifier", "type": "string" }, "Nonce": { "title": "number", "type": "number" } }, "type": "object" } }, "type": "object" }, "Msg": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "Method": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "ParamsCodec": { "title": "number", "type": "number" }, "ReadOnly": { "type": "boolean" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" } }, "type": "object" }, "MsgRct": { "additionalProperties": false, "properties": { "ExitCode": { "title": "number", "type": "number" }, "Return": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "ReturnCodec": { "title": "number", "type": "number" } }, "type": "object" }, "Subcalls": { "items": {}, "type": "array" } }, "type": "object" }, "GasCost": { "additionalProperties": false, "properties": { "BaseFeeBurn": { "additionalProperties": false, "type": "object" }, "GasUsed": { "additionalProperties": false, "type": "object" }, "Message": { "title": "Content Identifier", "type": "string" }, "MinerPenalty": { "additionalProperties": false, "type": "object" }, "MinerTip": { "additionalProperties": false, "type": "object" }, "OverEstimationBurn": { "additionalProperties": false, "type": "object" }, "Refund": { "additionalProperties": false, "type": "object" }, "TotalCost": { "additionalProperties": false, "type": "object" } }, "type": "object" }, "Msg": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "MsgCid": { "title": "Content Identifier", "type": "string" }, "MsgRct": { "additionalProperties": false, "properties": { "EventsRoot": { "title": "Content Identifier", "type": "string" }, "ExitCode": { "title": "number", "type": "number" }, "GasUsed": { "title": "number", "type": "number" }, "Return": { "media": { "binaryEncoding": "base64" }, "type": "string" } }, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3407" } }, { "name": "Filecoin.StateSearchMsg", "description": "```go\nfunc (s *FullNodeStruct) StateSearchMsg(p0 context.Context, p1 types.TipSetKey, p2 cid.Cid, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error) {\n\tif s.Internal.StateSearchMsg == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateSearchMsg(p0, p1, p2, p3, p4)\n}\n```", "summary": "StateSearchMsg looks back up to limit epochs in the chain for a message, and returns its receipt and the tipset where it was executed\n\nNOTE: If a replacing message is found on chain, this method will return\na MsgLookup for the replacing message - the MsgLookup.Message will be a different\nCID than the one provided in the 'cid' param, MsgLookup.Receipt will contain the\nresult of the execution of the replacing message.\n\nIf the caller wants to ensure that exactly the requested message was executed,\nthey must check that MsgLookup.Message is equal to the provided 'cid', or set the\n`allowReplaced` parameter to false. Without this check, and with `allowReplaced`\nset to true, both the requested and original message may appear as\nsuccessfully executed on-chain, which may look like a double-spend.\n\nA replacing message is a message with a different CID, any of Gas values, and\ndifferent signature, but with all other parameters matching (source/destination,\nnonce, params, etc.)\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "abi.ChainEpoch", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 10101 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false } ], "result": { "name": "*MsgLookup", "description": "*MsgLookup", "summary": "", "schema": { "examples": [ { "Message": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Receipt": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", "GasUsed": 9, "EventsRoot": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } }, "ReturnDec": {}, "TipSet": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ], "Height": 10101 } ], "additionalProperties": false, "properties": { "Height": { "title": "number", "type": "number" }, "Message": { "title": "Content Identifier", "type": "string" }, "Receipt": { "additionalProperties": false, "properties": { "EventsRoot": { "title": "Content Identifier", "type": "string" }, "ExitCode": { "title": "number", "type": "number" }, "GasUsed": { "title": "number", "type": "number" }, "Return": { "media": { "binaryEncoding": "base64" }, "type": "string" } }, "type": "object" }, "ReturnDec": { "additionalProperties": true, "type": "object" }, "TipSet": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3418" } }, { "name": "Filecoin.StateSectorExpiration", "description": "```go\nfunc (s *FullNodeStruct) StateSectorExpiration(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorExpiration, error) {\n\tif s.Internal.StateSectorExpiration == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateSectorExpiration(p0, p1, p2, p3)\n}\n```", "summary": "StateSectorExpiration returns epoch at which given sector will expire\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "abi.SectorNumber", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 9 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*miner.SectorExpiration", "description": "*miner.SectorExpiration", "summary": "", "schema": { "examples": [ { "OnTime": 10101, "Early": 10101 } ], "additionalProperties": false, "properties": { "Early": { "title": "number", "type": "number" }, "OnTime": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3429" } }, { "name": "Filecoin.StateSectorGetInfo", "description": "```go\nfunc (s *FullNodeStruct) StateSectorGetInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorOnChainInfo, error) {\n\tif s.Internal.StateSectorGetInfo == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateSectorGetInfo(p0, p1, p2, p3)\n}\n```", "summary": "StateSectorGetInfo returns the on-chain info for the specified miner's sector. Returns null in case the sector info isn't found\nNOTE: returned info.Expiration may not be accurate in some cases, use StateSectorExpiration to get accurate\nexpiration epoch\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "abi.SectorNumber", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 9 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*miner.SectorOnChainInfo", "description": "*miner.SectorOnChainInfo", "summary": "", "schema": { "examples": [ { "SectorNumber": 9, "SealProof": 8, "SealedCID": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "DealIDs": [ 5432 ], "Activation": 10101, "Expiration": 10101, "DealWeight": "0", "VerifiedDealWeight": "0", "InitialPledge": "0", "ExpectedDayReward": "0", "ExpectedStoragePledge": "0", "PowerBaseEpoch": 10101, "ReplacedDayReward": "0", "SectorKeyCID": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Flags": 0 } ], "additionalProperties": false, "properties": { "Activation": { "title": "number", "type": "number" }, "DealIDs": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "DealWeight": { "additionalProperties": false, "type": "object" }, "ExpectedDayReward": { "additionalProperties": false, "type": "object" }, "ExpectedStoragePledge": { "additionalProperties": false, "type": "object" }, "Expiration": { "title": "number", "type": "number" }, "Flags": { "title": "number", "type": "number" }, "InitialPledge": { "additionalProperties": false, "type": "object" }, "PowerBaseEpoch": { "title": "number", "type": "number" }, "ReplacedDayReward": { "additionalProperties": false, "type": "object" }, "SealProof": { "title": "number", "type": "number" }, "SealedCID": { "title": "Content Identifier", "type": "string" }, "SectorKeyCID": { "title": "Content Identifier", "type": "string" }, "SectorNumber": { "title": "number", "type": "number" }, "VerifiedDealWeight": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3440" } }, { "name": "Filecoin.StateSectorPartition", "description": "```go\nfunc (s *FullNodeStruct) StateSectorPartition(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorLocation, error) {\n\tif s.Internal.StateSectorPartition == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateSectorPartition(p0, p1, p2, p3)\n}\n```", "summary": "StateSectorPartition finds deadline/partition with the specified sector\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "abi.SectorNumber", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 9 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*miner.SectorLocation", "description": "*miner.SectorLocation", "summary": "", "schema": { "examples": [ { "Deadline": 42, "Partition": 42 } ], "additionalProperties": false, "properties": { "Deadline": { "title": "number", "type": "number" }, "Partition": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3451" } }, { "name": "Filecoin.StateSectorPreCommitInfo", "description": "```go\nfunc (s *FullNodeStruct) StateSectorPreCommitInfo(p0 context.Context, p1 address.Address, p2 abi.SectorNumber, p3 types.TipSetKey) (*miner.SectorPreCommitOnChainInfo, error) {\n\tif s.Internal.StateSectorPreCommitInfo == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateSectorPreCommitInfo(p0, p1, p2, p3)\n}\n```", "summary": "StateSectorPreCommitInfo returns the PreCommit info for the specified miner's sector.\nReturns nil and no error if the sector isn't precommitted.\n\nNote that the sector number may be allocated while PreCommitInfo is nil. This means that either allocated sector\nnumbers were compacted, and the sector number was marked as allocated in order to reduce size of the allocated\nsectors bitfield, or that the sector was precommitted, but the precommit has expired.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "abi.SectorNumber", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 9 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*miner.SectorPreCommitOnChainInfo", "description": "*miner.SectorPreCommitOnChainInfo", "summary": "", "schema": { "examples": [ { "Info": { "SealProof": 8, "SectorNumber": 9, "SealedCID": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "SealRandEpoch": 10101, "DealIDs": [ 5432 ], "Expiration": 10101, "UnsealedCid": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } }, "PreCommitDeposit": "0", "PreCommitEpoch": 10101 } ], "additionalProperties": false, "properties": { "Info": { "additionalProperties": false, "properties": { "DealIDs": { "items": { "description": "Number is a number", "title": "number", "type": "number" }, "type": "array" }, "Expiration": { "title": "number", "type": "number" }, "SealProof": { "title": "number", "type": "number" }, "SealRandEpoch": { "title": "number", "type": "number" }, "SealedCID": { "title": "Content Identifier", "type": "string" }, "SectorNumber": { "title": "number", "type": "number" }, "UnsealedCid": { "title": "Content Identifier", "type": "string" } }, "type": "object" }, "PreCommitDeposit": { "additionalProperties": false, "type": "object" }, "PreCommitEpoch": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3462" } }, { "name": "Filecoin.StateVMCirculatingSupplyInternal", "description": "```go\nfunc (s *FullNodeStruct) StateVMCirculatingSupplyInternal(p0 context.Context, p1 types.TipSetKey) (CirculatingSupply, error) {\n\tif s.Internal.StateVMCirculatingSupplyInternal == nil {\n\t\treturn *new(CirculatingSupply), ErrNotSupported\n\t}\n\treturn s.Internal.StateVMCirculatingSupplyInternal(p0, p1)\n}\n```", "summary": "StateVMCirculatingSupplyInternal returns an approximation of the circulating supply of Filecoin at the given tipset.\nThis is the value reported by the runtime interface to actors code.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "CirculatingSupply", "description": "CirculatingSupply", "summary": "", "schema": { "examples": [ { "FilVested": "0", "FilMined": "0", "FilBurnt": "0", "FilLocked": "0", "FilCirculating": "0", "FilReserveDisbursed": "0" } ], "additionalProperties": false, "properties": { "FilBurnt": { "additionalProperties": false, "type": "object" }, "FilCirculating": { "additionalProperties": false, "type": "object" }, "FilLocked": { "additionalProperties": false, "type": "object" }, "FilMined": { "additionalProperties": false, "type": "object" }, "FilReserveDisbursed": { "additionalProperties": false, "type": "object" }, "FilVested": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3473" } }, { "name": "Filecoin.StateVerifiedClientStatus", "description": "```go\nfunc (s *FullNodeStruct) StateVerifiedClientStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error) {\n\tif s.Internal.StateVerifiedClientStatus == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateVerifiedClientStatus(p0, p1, p2)\n}\n```", "summary": "StateVerifiedClientStatus returns the data cap for the given address.\nReturns nil if there is no entry in the data cap table for the\naddress.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*abi.StoragePower", "description": "*abi.StoragePower", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3484" } }, { "name": "Filecoin.StateVerifiedRegistryRootKey", "description": "```go\nfunc (s *FullNodeStruct) StateVerifiedRegistryRootKey(p0 context.Context, p1 types.TipSetKey) (address.Address, error) {\n\tif s.Internal.StateVerifiedRegistryRootKey == nil {\n\t\treturn *new(address.Address), ErrNotSupported\n\t}\n\treturn s.Internal.StateVerifiedRegistryRootKey(p0, p1)\n}\n```", "summary": "StateVerifiedRegistryRootKey returns the address of the Verified Registry's root key\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "address.Address", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3495" } }, { "name": "Filecoin.StateVerifierStatus", "description": "```go\nfunc (s *FullNodeStruct) StateVerifierStatus(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (*abi.StoragePower, error) {\n\tif s.Internal.StateVerifierStatus == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateVerifierStatus(p0, p1, p2)\n}\n```", "summary": "StateVerifierStatus returns the data cap for the given address.\nReturns nil if there is no entry in the data cap table for the\naddress.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*abi.StoragePower", "description": "*abi.StoragePower", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3506" } }, { "name": "Filecoin.StateWaitMsg", "description": "```go\nfunc (s *FullNodeStruct) StateWaitMsg(p0 context.Context, p1 cid.Cid, p2 uint64, p3 abi.ChainEpoch, p4 bool) (*MsgLookup, error) {\n\tif s.Internal.StateWaitMsg == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.StateWaitMsg(p0, p1, p2, p3, p4)\n}\n```", "summary": "StateWaitMsg looks back up to limit epochs in the chain for a message.\nIf not found, it blocks until the message arrives on chain, and gets to the\nindicated confidence depth.\n\nNOTE: If a replacing message is found on chain, this method will return\na MsgLookup for the replacing message - the MsgLookup.Message will be a different\nCID than the one provided in the 'cid' param, MsgLookup.Receipt will contain the\nresult of the execution of the replacing message.\n\nIf the caller wants to ensure that exactly the requested message was executed,\nthey must check that MsgLookup.Message is equal to the provided 'cid', or set the\n`allowReplaced` parameter to false. Without this check, and with `allowReplaced`\nset to true, both the requested and original message may appear as\nsuccessfully executed on-chain, which may look like a double-spend.\n\nA replacing message is a message with a different CID, any of Gas values, and\ndifferent signature, but with all other parameters matching (source/destination,\nnonce, params, etc.)\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "uint64", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 42 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "abi.ChainEpoch", "summary": "", "schema": { "title": "number", "description": "Number is a number", "examples": [ 10101 ], "type": [ "number" ] }, "required": true, "deprecated": false }, { "name": "p4", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false } ], "result": { "name": "*MsgLookup", "description": "*MsgLookup", "summary": "", "schema": { "examples": [ { "Message": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Receipt": { "ExitCode": 0, "Return": "Ynl0ZSBhcnJheQ==", "GasUsed": 9, "EventsRoot": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } }, "ReturnDec": {}, "TipSet": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ], "Height": 10101 } ], "additionalProperties": false, "properties": { "Height": { "title": "number", "type": "number" }, "Message": { "title": "Content Identifier", "type": "string" }, "Receipt": { "additionalProperties": false, "properties": { "EventsRoot": { "title": "Content Identifier", "type": "string" }, "ExitCode": { "title": "number", "type": "number" }, "GasUsed": { "title": "number", "type": "number" }, "Return": { "media": { "binaryEncoding": "base64" }, "type": "string" } }, "type": "object" }, "ReturnDec": { "additionalProperties": true, "type": "object" }, "TipSet": { "additionalProperties": false, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3517" } }, { "name": "Filecoin.SyncCheckBad", "description": "```go\nfunc (s *FullNodeStruct) SyncCheckBad(p0 context.Context, p1 cid.Cid) (string, error) {\n\tif s.Internal.SyncCheckBad == nil {\n\t\treturn \"\", ErrNotSupported\n\t}\n\treturn s.Internal.SyncCheckBad(p0, p1)\n}\n```", "summary": "SyncCheckBad checks if a block was marked as bad, and if it was, returns\nthe reason.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "string", "description": "string", "summary": "", "schema": { "examples": [ "string value" ], "type": [ "string" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3539" } }, { "name": "Filecoin.SyncCheckpoint", "description": "```go\nfunc (s *FullNodeStruct) SyncCheckpoint(p0 context.Context, p1 types.TipSetKey) error {\n\tif s.Internal.SyncCheckpoint == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SyncCheckpoint(p0, p1)\n}\n```", "summary": "SyncCheckpoint marks a blocks as checkpointed, meaning that it won't ever fork away from it.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "Null", "description": "Null", "schema": { "type": [ "null" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3550" } }, { "name": "Filecoin.SyncMarkBad", "description": "```go\nfunc (s *FullNodeStruct) SyncMarkBad(p0 context.Context, p1 cid.Cid) error {\n\tif s.Internal.SyncMarkBad == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SyncMarkBad(p0, p1)\n}\n```", "summary": "SyncMarkBad marks a blocks as bad, meaning that it won't ever by synced.\nUse with extreme caution.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "Null", "description": "Null", "schema": { "type": [ "null" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3572" } }, { "name": "Filecoin.SyncState", "description": "```go\nfunc (s *FullNodeStruct) SyncState(p0 context.Context) (*SyncState, error) {\n\tif s.Internal.SyncState == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.SyncState(p0)\n}\n```", "summary": "SyncState returns the current status of the lotus sync system.\n", "paramStructure": "by-position", "params": [], "result": { "name": "*SyncState", "description": "*SyncState", "summary": "", "schema": { "examples": [ { "ActiveSyncs": [ { "WorkerID": 42, "Base": { "Cids": null, "Blocks": null, "Height": 0 }, "Target": { "Cids": null, "Blocks": null, "Height": 0 }, "Stage": 1, "Height": 10101, "Start": "0001-01-01T00:00:00Z", "End": "0001-01-01T00:00:00Z", "Message": "string value" } ], "VMApplied": 42 } ], "additionalProperties": false, "properties": { "ActiveSyncs": { "items": { "additionalProperties": false, "properties": { "Base": { "additionalProperties": false, "type": "object" }, "End": { "format": "date-time", "type": "string" }, "Height": { "title": "number", "type": "number" }, "Message": { "type": "string" }, "Stage": { "title": "number", "type": "number" }, "Start": { "format": "date-time", "type": "string" }, "Target": { "additionalProperties": false, "type": "object" }, "WorkerID": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "VMApplied": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3583" } }, { "name": "Filecoin.SyncSubmitBlock", "description": "```go\nfunc (s *FullNodeStruct) SyncSubmitBlock(p0 context.Context, p1 *types.BlockMsg) error {\n\tif s.Internal.SyncSubmitBlock == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SyncSubmitBlock(p0, p1)\n}\n```", "summary": "SyncSubmitBlock can be used to submit a newly created block to the.\nnetwork through this node\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "*types.BlockMsg", "summary": "", "schema": { "examples": [ { "Header": { "Miner": "f01234", "Ticket": { "VRFProof": "Ynl0ZSBhcnJheQ==" }, "ElectionProof": { "WinCount": 9, "VRFProof": "Ynl0ZSBhcnJheQ==" }, "BeaconEntries": [ { "Round": 42, "Data": "Ynl0ZSBhcnJheQ==" } ], "WinPoStProof": [ { "PoStProof": 8, "ProofBytes": "Ynl0ZSBhcnJheQ==" } ], "Parents": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "ParentWeight": "0", "Height": 10101, "ParentStateRoot": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "ParentMessageReceipts": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Messages": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "BLSAggregate": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" }, "Timestamp": 42, "BlockSig": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" }, "ForkSignaling": 42, "ParentBaseFee": "0" }, "BlsMessages": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "SecpkMessages": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ] } ], "additionalProperties": false, "properties": { "BlsMessages": { "items": { "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "title": "Content Identifier", "type": "string" }, "type": "array" }, "Header": { "additionalProperties": false, "properties": { "BLSAggregate": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" }, "BeaconEntries": { "items": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Round": { "title": "number", "type": "number" } }, "type": "object" }, "type": "array" }, "BlockSig": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" }, "ElectionProof": { "additionalProperties": false, "properties": { "VRFProof": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "WinCount": { "title": "number", "type": "number" } }, "type": "object" }, "ForkSignaling": { "title": "number", "type": "number" }, "Height": { "title": "number", "type": "number" }, "Messages": { "title": "Content Identifier", "type": "string" }, "Miner": { "additionalProperties": false, "type": "object" }, "ParentBaseFee": { "additionalProperties": false, "type": "object" }, "ParentMessageReceipts": { "title": "Content Identifier", "type": "string" }, "ParentStateRoot": { "title": "Content Identifier", "type": "string" }, "ParentWeight": { "additionalProperties": false, "type": "object" }, "Parents": { "items": { "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "title": "Content Identifier", "type": "string" }, "type": "array" }, "Ticket": { "additionalProperties": false, "properties": { "VRFProof": { "media": { "binaryEncoding": "base64" }, "type": "string" } }, "type": "object" }, "Timestamp": { "title": "number", "type": "number" }, "WinPoStProof": { "items": { "additionalProperties": false, "properties": { "PoStProof": { "title": "number", "type": "number" }, "ProofBytes": { "media": { "binaryEncoding": "base64" }, "type": "string" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "SecpkMessages": { "items": { "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "title": "Content Identifier", "type": "string" }, "type": "array" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "Null", "description": "Null", "schema": { "type": [ "null" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3594" } }, { "name": "Filecoin.SyncUnmarkAllBad", "description": "```go\nfunc (s *FullNodeStruct) SyncUnmarkAllBad(p0 context.Context) error {\n\tif s.Internal.SyncUnmarkAllBad == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SyncUnmarkAllBad(p0)\n}\n```", "summary": "SyncUnmarkAllBad purges bad block cache, making it possible to sync to chains previously marked as bad\n", "paramStructure": "by-position", "params": [], "result": { "name": "Null", "description": "Null", "schema": { "type": [ "null" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3605" } }, { "name": "Filecoin.SyncUnmarkBad", "description": "```go\nfunc (s *FullNodeStruct) SyncUnmarkBad(p0 context.Context, p1 cid.Cid) error {\n\tif s.Internal.SyncUnmarkBad == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.SyncUnmarkBad(p0, p1)\n}\n```", "summary": "SyncUnmarkBad unmarks a blocks as bad, making it possible to be validated and synced again.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "cid.Cid", "summary": "", "schema": { "title": "Content Identifier", "description": "Cid represents a self-describing content addressed identifier. It is formed by a Version, a Codec (which indicates a multicodec-packed content type) and a Multihash.", "examples": [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "Null", "description": "Null", "schema": { "type": [ "null" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3616" } }, { "name": "Filecoin.SyncValidateTipset", "description": "```go\nfunc (s *FullNodeStruct) SyncValidateTipset(p0 context.Context, p1 types.TipSetKey) (bool, error) {\n\tif s.Internal.SyncValidateTipset == nil {\n\t\treturn false, ErrNotSupported\n\t}\n\treturn s.Internal.SyncValidateTipset(p0, p1)\n}\n```", "summary": "SyncValidateTipset indicates whether the provided tipset is valid or not\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.TipSetKey", "summary": "", "schema": { "examples": [ [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "bool", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3627" } }, { "name": "Filecoin.WalletBalance", "description": "```go\nfunc (s *FullNodeStruct) WalletBalance(p0 context.Context, p1 address.Address) (types.BigInt, error) {\n\tif s.Internal.WalletBalance == nil {\n\t\treturn *new(types.BigInt), ErrNotSupported\n\t}\n\treturn s.Internal.WalletBalance(p0, p1)\n}\n```", "summary": "WalletBalance returns the balance of the given address at the current head of the chain.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "types.BigInt", "description": "types.BigInt", "summary": "", "schema": { "examples": [ "0" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3638" } }, { "name": "Filecoin.WalletDefaultAddress", "description": "```go\nfunc (s *FullNodeStruct) WalletDefaultAddress(p0 context.Context) (address.Address, error) {\n\tif s.Internal.WalletDefaultAddress == nil {\n\t\treturn *new(address.Address), ErrNotSupported\n\t}\n\treturn s.Internal.WalletDefaultAddress(p0)\n}\n```", "summary": "WalletDefaultAddress returns the address marked as default in the wallet.\n", "paramStructure": "by-position", "params": [], "result": { "name": "address.Address", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3649" } }, { "name": "Filecoin.WalletDelete", "description": "```go\nfunc (s *FullNodeStruct) WalletDelete(p0 context.Context, p1 address.Address) error {\n\tif s.Internal.WalletDelete == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.WalletDelete(p0, p1)\n}\n```", "summary": "WalletDelete deletes an address from the wallet.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "Null", "description": "Null", "schema": { "type": [ "null" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3660" } }, { "name": "Filecoin.WalletExport", "description": "```go\nfunc (s *FullNodeStruct) WalletExport(p0 context.Context, p1 address.Address) (*types.KeyInfo, error) {\n\tif s.Internal.WalletExport == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.WalletExport(p0, p1)\n}\n```", "summary": "WalletExport returns the private key of an address in the wallet.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*types.KeyInfo", "description": "*types.KeyInfo", "summary": "", "schema": { "examples": [ { "Type": "bls", "PrivateKey": "Ynl0ZSBhcnJheQ==" } ], "additionalProperties": false, "properties": { "PrivateKey": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "type": "string" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3671" } }, { "name": "Filecoin.WalletHas", "description": "```go\nfunc (s *FullNodeStruct) WalletHas(p0 context.Context, p1 address.Address) (bool, error) {\n\tif s.Internal.WalletHas == nil {\n\t\treturn false, ErrNotSupported\n\t}\n\treturn s.Internal.WalletHas(p0, p1)\n}\n```", "summary": "WalletHas indicates whether the given address is in the wallet.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "bool", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3682" } }, { "name": "Filecoin.WalletImport", "description": "```go\nfunc (s *FullNodeStruct) WalletImport(p0 context.Context, p1 *types.KeyInfo) (address.Address, error) {\n\tif s.Internal.WalletImport == nil {\n\t\treturn *new(address.Address), ErrNotSupported\n\t}\n\treturn s.Internal.WalletImport(p0, p1)\n}\n```", "summary": "WalletImport receives a KeyInfo, which includes a private key, and imports it into the wallet.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "*types.KeyInfo", "summary": "", "schema": { "examples": [ { "Type": "bls", "PrivateKey": "Ynl0ZSBhcnJheQ==" } ], "additionalProperties": false, "properties": { "PrivateKey": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "type": "string" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "address.Address", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3693" } }, { "name": "Filecoin.WalletList", "description": "```go\nfunc (s *FullNodeStruct) WalletList(p0 context.Context) ([]address.Address, error) {\n\tif s.Internal.WalletList == nil {\n\t\treturn *new([]address.Address), ErrNotSupported\n\t}\n\treturn s.Internal.WalletList(p0)\n}\n```", "summary": "WalletList lists all the addresses in the wallet.\n", "paramStructure": "by-position", "params": [], "result": { "name": "[]address.Address", "description": "[]address.Address", "summary": "", "schema": { "examples": [ [ "f01234" ] ], "items": [ { "additionalProperties": false, "type": [ "object" ] } ], "type": [ "array" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3704" } }, { "name": "Filecoin.WalletNew", "description": "```go\nfunc (s *FullNodeStruct) WalletNew(p0 context.Context, p1 types.KeyType) (address.Address, error) {\n\tif s.Internal.WalletNew == nil {\n\t\treturn *new(address.Address), ErrNotSupported\n\t}\n\treturn s.Internal.WalletNew(p0, p1)\n}\n```", "summary": "WalletNew creates a new address in the wallet with the given sigType.\nAvailable key types: bls, secp256k1, secp256k1-ledger\nSupport for numerical types: 1 - secp256k1, 2 - BLS is deprecated\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "types.KeyType", "summary": "", "schema": { "examples": [ "bls" ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "address.Address", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3715" } }, { "name": "Filecoin.WalletSetDefault", "description": "```go\nfunc (s *FullNodeStruct) WalletSetDefault(p0 context.Context, p1 address.Address) error {\n\tif s.Internal.WalletSetDefault == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.WalletSetDefault(p0, p1)\n}\n```", "summary": "WalletSetDefault marks the given address as the default one.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "Null", "description": "Null", "schema": { "type": [ "null" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3726" } }, { "name": "Filecoin.WalletSign", "description": "```go\nfunc (s *FullNodeStruct) WalletSign(p0 context.Context, p1 address.Address, p2 []byte) (*crypto.Signature, error) {\n\tif s.Internal.WalletSign == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.WalletSign(p0, p1, p2)\n}\n```", "summary": "WalletSign signs the given bytes using the given address.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "[]byte", "summary": "", "schema": { "examples": [ "Ynl0ZSBhcnJheQ==" ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "*crypto.Signature", "description": "*crypto.Signature", "summary": "", "schema": { "examples": [ { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" } ], "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3737" } }, { "name": "Filecoin.WalletSignMessage", "description": "```go\nfunc (s *FullNodeStruct) WalletSignMessage(p0 context.Context, p1 address.Address, p2 *types.Message) (*types.SignedMessage, error) {\n\tif s.Internal.WalletSignMessage == nil {\n\t\treturn nil, ErrNotSupported\n\t}\n\treturn s.Internal.WalletSignMessage(p0, p1, p2)\n}\n```", "summary": "WalletSignMessage signs the given message using the given address.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "*types.Message", "summary": "", "schema": { "examples": [ { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "*types.SignedMessage", "description": "*types.SignedMessage", "summary": "", "schema": { "examples": [ { "Message": { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, "Signature": { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" }, "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], "additionalProperties": false, "properties": { "Message": { "additionalProperties": false, "properties": { "From": { "additionalProperties": false, "type": "object" }, "GasFeeCap": { "additionalProperties": false, "type": "object" }, "GasLimit": { "title": "number", "type": "number" }, "GasPremium": { "additionalProperties": false, "type": "object" }, "Method": { "title": "number", "type": "number" }, "Nonce": { "title": "number", "type": "number" }, "Params": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "To": { "additionalProperties": false, "type": "object" }, "Value": { "additionalProperties": false, "type": "object" }, "Version": { "title": "number", "type": "number" } }, "type": "object" }, "Signature": { "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": "object" } }, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3748" } }, { "name": "Filecoin.WalletValidateAddress", "description": "```go\nfunc (s *FullNodeStruct) WalletValidateAddress(p0 context.Context, p1 string) (address.Address, error) {\n\tif s.Internal.WalletValidateAddress == nil {\n\t\treturn *new(address.Address), ErrNotSupported\n\t}\n\treturn s.Internal.WalletValidateAddress(p0, p1)\n}\n```", "summary": "WalletValidateAddress validates whether a given string can be decoded as a well-formed address\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "string", "summary": "", "schema": { "examples": [ "string value" ], "type": [ "string" ] }, "required": true, "deprecated": false } ], "result": { "name": "address.Address", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3759" } }, { "name": "Filecoin.WalletVerify", "description": "```go\nfunc (s *FullNodeStruct) WalletVerify(p0 context.Context, p1 address.Address, p2 []byte, p3 *crypto.Signature) (bool, error) {\n\tif s.Internal.WalletVerify == nil {\n\t\treturn false, ErrNotSupported\n\t}\n\treturn s.Internal.WalletVerify(p0, p1, p2, p3)\n}\n```", "summary": "WalletVerify takes an address, a signature, and some bytes, and indicates whether the signature is valid.\nThe address does not have to be in the wallet.\n", "paramStructure": "by-position", "params": [ { "name": "p1", "description": "address.Address", "summary": "", "schema": { "examples": [ "f01234" ], "additionalProperties": false, "type": [ "object" ] }, "required": true, "deprecated": false }, { "name": "p2", "description": "[]byte", "summary": "", "schema": { "examples": [ "Ynl0ZSBhcnJheQ==" ], "type": [ "string" ] }, "required": true, "deprecated": false }, { "name": "p3", "description": "*crypto.Signature", "summary": "", "schema": { "examples": [ { "Type": 2, "Data": "Ynl0ZSBhcnJheQ==" } ], "additionalProperties": false, "properties": { "Data": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "Type": { "title": "number", "type": "number" } }, "type": [ "object" ] }, "required": true, "deprecated": false } ], "result": { "name": "bool", "description": "bool", "summary": "", "schema": { "examples": [ true ], "type": [ "boolean" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3770" } }, { "name": "Filecoin.Web3ClientVersion", "description": "```go\nfunc (s *FullNodeStruct) Web3ClientVersion(p0 context.Context) (string, error) {\n\tif s.Internal.Web3ClientVersion == nil {\n\t\treturn \"\", ErrNotSupported\n\t}\n\treturn s.Internal.Web3ClientVersion(p0)\n}\n```", "summary": "Returns the client version\n", "paramStructure": "by-position", "params": [], "result": { "name": "string", "description": "string", "summary": "", "schema": { "examples": [ "string value" ], "type": [ "string" ] }, "required": true, "deprecated": false }, "deprecated": false, "externalDocs": { "description": "Github remote link", "url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3781" } } ] }