Filecoin 백서

Filecoin

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 52쪽 중 48쪽

"0x07", "gas": "0x5", "maxFeePerGas": "0x0", "maxPriorityFeePerGas": "0x0", "accessList": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "v": "0x0", "r": "0x0", "s": "0x0" } ``` ## EthGetTransactionByBlockNumberAndIndex Perms: read Inputs: ```json ["0x5", "0x5"] ``` Response: ```json { "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", "accessList": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "v": "0x0", "r": "0x0", "s": "0x0" } ``` ## EthGetTransactionByHash Perms: read Inputs: ```json ["0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e"] ``` Response: ```json { "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", "accessList": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "v": "0x0", "r": "0x0", "s": "0x0" } ``` ## EthGetTransactionByHashLimited Perms: read Inputs: ```json ["0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", 10101] ``` Response: ```json { "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", "accessList": [ "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e" ], "v": "0x0", "r": "0x0", "s": "0x0" } ``` ## EthGetTransactionCount Perms: read Inputs: ```json ["0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "string value"] ``` Response: `"0x5"` ## EthGetTransactionHashByCid Perms: read Inputs: ```json [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ] ``` Response: `"0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e"` ## EthGetTransactionReceipt Perms: read Inputs: ```json ["0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e"] ``` Response: ```json { "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" } ``` ## EthGetTransactionReceiptLimited Perms: read Inputs: ```json ["0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", 10101] ``` Response: ```json { "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" } ``` ## EthMaxPriorityFeePerGas Perms: read Inputs: `null` Response: `"0x0"` ## EthNewBlockFilter Installs a persistent filter to notify when a new block arrives. Perms: read Inputs: `null` Response: `"0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e"` ## EthNewFilter Installs a persistent filter based on given filter spec. Perms: read Inputs: ```json [ { "fromBlock": "2301220", "address": ["0x5cbeecf99d3fdb3f25e309cc264f240bb0664031"], "topics": null } ] ``` Response: `"0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e"` ## EthNewPendingTransactionFilter Installs a persistent filter to notify when new messages arrive in the message pool. Perms: read Inputs: `null` Response: `"0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e"` ## EthProtocolVersion Perms: read Inputs: `null` Response: `"0x5"` ## EthSendRawTransaction Perms: read Inputs: ```json ["0x07"] ``` Response: `"0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e"` ## EthSubscribe Subscribe to different event types using websockets eventTypes is one or more of: * newHeads: notify when new blocks arrive. * pendingTransactions: notify when new messages arrive in the message pool. * logs: notify new event logs that match a criteria params contains additional parameters used with the log event type The client will receive a stream of EthSubscriptionResponse values until EthUnsubscribe is called. Perms: read Inputs: ```json ["Bw=="] ``` Response: `"0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e"` ## EthSyncing Perms: read Inputs: `null` Response: `false` ## EthTraceBlock TraceAPI related methods Returns traces created at given block Perms: read Inputs: ```json ["string value"] ``` Response: ```json [ { "action": { "callType": "string value", "from": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "to": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "gas": "0x5", "input": "0x07", "value": "0x0" }, "result": { "gasUsed": "0x5", "output": "0x07" }, "subtraces": 123, "traceAddress": [123], "Type": "string value", "blockHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "blockNumber": 9, "transactionHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "transactionPosition": 123 } ] ``` ## EthTraceReplayBlockTransactions Replays all transactions in a block returning the requested traces for each transaction Perms: read Inputs: ```json ["string value", ["string value"]] ``` Response: ```json [ { "output": "0x07", "stateDiff": "string value", "trace": [ { "action": { "callType": "string value", "from": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "to": "0x5cbeecf99d3fdb3f25e309cc264f240bb0664031", "gas": "0x5", "input": "0x07", "value": "0x0" }, "result": { "gasUsed": "0x5", "output": "0x07" }, "subtraces": 123, "traceAddress": [123], "Type": "string value" } ], "transactionHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e", "vmTrace": "string value" } ] ``` ## EthUninstallFilter Uninstalls a filter with given id. Perms: read Inputs: ```json ["0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e"] ``` Response: `true` ## EthUnsubscribe Unsubscribe from a websocket subscription Perms: read Inputs: ```json ["0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e"] ``` Response: `true` [Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill_Page+URL=https://docs.filecoin.io/reference/json-rpc/eth) # Gas ## GasEstimateFeeCap GasEstimateFeeCap estimates gas fee cap Perms: read Inputs: ```json [ { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, 9, [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ] ``` Response: `"0"` ## GasEstimateGasLimit GasEstimateGasLimit estimates gas used by the message and returns it. It fails if message fails to execute. Perms: read Inputs: ```json [ { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ] ``` Response: `9` ## GasEstimateGasPremium GasEstimateGasPremium estimates what gas price should be used for a message to have high likelihood of inclusion in `nblocksincl` epochs. Perms: read Inputs: ```json [ 42, "f01234", 9, [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ] ``` Response: `"0"` ## GasEstimateMessageGas GasEstimateMessageGas estimates gas values for unset message gas fields Perms: read Inputs: ```json [ { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } }, { "MaxFee": "0", "MsgUuid": "07070707-0707-0707-0707-070707070707" }, [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ] ``` Response: ```json { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ``` [Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill_Page+URL=https://docs.filecoin.io/reference/json-rpc/gas) # I ## ID Perms: read Inputs: `null` Response: `"12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf"` [Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill_Page+URL=https://docs.filecoin.io/reference/json-rpc/i) # Log ## LogAlerts Perms: admin Inputs: `null` Response: ```json [ { "Type": { "System": "string value", "Subsystem": "string value" }, "Active": true, "LastActive": { "Type": "string value", "Message": "json raw message", "Time": "0001-01-01T00:00:00Z" }, "LastResolved": { "Type": "string value", "Message": "json raw message", "Time": "0001-01-01T00:00:00Z" } } ] ``` ## LogList Perms: write Inputs: `null` Response: ```json ["string value"] ``` ## LogSetLevel Perms: write Inputs: ```json ["string value", "string value"] ``` Response: `{}` [Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill_Page+URL=https://docs.filecoin.io/reference/json-rpc/log) # Market ## MarketAddBalance MarketAddBalance adds funds to the market actor Perms: sign Inputs: ```json ["f01234", "f01234", "0"] ``` Response: ```json { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ``` ## MarketGetReserved MarketGetReserved gets the amount of funds that are currently reserved for the address Perms: sign Inputs: ```json ["f01234"] ``` Response: `"0"` ## MarketReleaseFunds MarketReleaseFunds releases funds reserved by MarketReserveFunds Perms: sign Inputs: ```json ["f01234", "0"] ``` Response: `{}` ## MarketReserveFunds MarketReserveFunds reserves funds for a deal Perms: sign Inputs: ```json ["f01234", "f01234", "0"] ``` Response: ```json { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ``` ## MarketWithdraw MarketWithdraw withdraws unlocked funds from the market actor Perms: sign Inputs: ```json ["f01234", "f01234", "0"] ``` Response: ```json { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ``` [Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill_Page+URL=https://docs.filecoin.io/reference/json-rpc/market) # Miner ## MinerCreateBlock Perms: write Inputs: ```json [ { "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==" } ] } ] ``` Response: ```json { "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" } ] } ``` ## MinerGetBaseInfo There are not yet any comments for this method. Perms: read Inputs: ```json [ "f01234", 10101, [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, { "/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve" } ] ] ``` Response: ```json { "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 } ``` [Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill_Page+URL=https://docs.filecoin.io/reference/json-rpc/miner) # Mpool The Mpool methods are for interacting with the message pool. The message pool manages all incoming and outgoing 'messages' going over the network. ## MpoolBatchPush MpoolBatchPush batch pushes a signed message to mempool. Perms: write Inputs: ```json [ [ { "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" } } ] ] ``` Response: ```json [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ] ``` ## MpoolBatchPushMessage MpoolBatchPushMessage batch pushes a unsigned message to mempool. Perms: sign Inputs: ```json [ [ { "Version": 42, "To": "f01234", "From": "f01234", "Nonce": 42, "Value": "0", "GasLimit": 9, "GasFeeCap": "0", "GasPremium": "0", "Method": 1, "Params": "Ynl0ZSBhcnJheQ==", "CID": { "/": "bafy2bzacebbpdegvr3i4cosewthysg5xkxpqfn2wfcz6mv2hmoktwbdxkax4s" } } ], { "MaxFee": "0", "MsgUuid": "07070707-0707-0707-0707-070707070707" } ] ``` Response: ```json [ { "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" } } ] ``` ## MpoolBatchPushUntrusted MpoolBatchPushUntrusted batch pushes a signed message to mempool from untrusted sources. Perms: write Inputs: ```json [ [ { "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" } } ] ] ``` Response: ```json [ { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" } ] ``` ## MpoolCheckMessages MpoolCheckMessages performs logical checks on a batch of messages Perms: read Inputs: ```json [ [ { "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 } ] ] ``` Response: ```json [ [ { "Cid": { "/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4" }, "Co
프로젝트로 돌아가기