@@ -725,20 +725,40 @@ Active returns true if the op-conductor is active (not paused or stopped).
725725</Callout>
726726
727727CommitUnsafePayload commits an unsafe payload (latest head) to the consensus
728- layer. TODO - usage examples that include required params are needed
728+ layer. This method is typically called by the op-node to commit execution payload envelopes.
729729
730730<Tabs items={['curl', 'cast']}>
731731 <Tabs.Tab>
732732 ` ` ` sh
733733 curl -X POST -H "Content-Type: application/json" --data \
734- '{"jsonrpc":"2.0","method":"conductor_commitUnsafePayload","params":[],"id":1}' \
734+ '{"jsonrpc":"2.0","method":"conductor_commitUnsafePayload","params":[{
735+ "executionPayload": {
736+ "parentHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
737+ "feeRecipient": "0x4200000000000000000000000000000000000019",
738+ "stateRoot": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
739+ "receiptsRoot": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
740+ "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
741+ "prevRandao": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
742+ "blockNumber": "0x64",
743+ "gasLimit": "0x1c9c380",
744+ "gasUsed": "0x5208",
745+ "timestamp": "0x12345678",
746+ "extraData": "0x",
747+ "baseFeePerGas": "0x7",
748+ "blockHash": "0x9876543210fedcba9876543210fedcba9876543210fedcba9876543210fedcba",
749+ "transactions": []
750+ }
751+ }],"id":1}' \
735752 http://127.0.0.1:8547
736753 ` ` `
737754 </Tabs.Tab>
738755
739756 <Tabs.Tab>
740757 ` ` ` sh
741- cast rpc conductor_commitUnsafePayload --rpc-url http://127.0.0.1:8547
758+ # Example with basic payload structure
759+ cast rpc conductor_commitUnsafePayload \
760+ '{"executionPayload":{"parentHash":"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef","feeRecipient":"0x4200000000000000000000000000000000000019","stateRoot":"0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890","receiptsRoot":"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef","logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","prevRandao":"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef","blockNumber":"0x64","gasLimit":"0x1c9c380","gasUsed":"0x5208","timestamp":"0x12345678","extraData":"0x","baseFeePerGas":"0x7","blockHash":"0x9876543210fedcba9876543210fedcba9876543210fedcba9876543210fedcba","transactions":[]}}' \
761+ --rpc-url http://127.0.0.1:8547
742762 ` ` `
743763 </Tabs.Tab>
744764</Tabs>
0 commit comments