@@ -701,12 +701,12 @@ message PendingTransactionResponse {
701701 string firstSeen = 2 ;
702702 // Block height at which the transaction was observed (0x-prefixed hex).
703703 string blockHeight = 3 ;
704- // Theoretical gas limit for OPNet execution (0x-prefixed hex).
705- string theoreticalGasLimit = 4 ;
706- // Priority fee attached to the transaction (0x-prefixed hex).
707- string priorityFee = 5 ;
708- // Whether this transaction targets an OPNet contract .
709- bool isOPNet = 6 ;
704+ // Theoretical gas limit for OPNet execution (0x-prefixed hex). Present only for OPNet transactions.
705+ optional string theoreticalGasLimit = 4 ;
706+ // Priority fee attached to the transaction (0x-prefixed hex). Present only for OPNet transactions.
707+ optional string priorityFee = 5 ;
708+ // The OPNet transaction type (Generic, Interaction, Deployment) .
709+ string transactionType = 6 ;
710710 // Whether the transaction was submitted as a PSBT.
711711 bool psbt = 7 ;
712712 // The transaction inputs.
@@ -715,6 +715,14 @@ message PendingTransactionResponse {
715715 repeated MempoolTransactionOutput outputs = 9 ;
716716 // The full raw transaction as a hex string.
717717 string raw = 10 ;
718+ // The sender address (p2tr format). Present only for OPNet transactions.
719+ optional string from = 11 ;
720+ // The target contract address (p2op format). Present only for OPNet transactions.
721+ optional string contractAddress = 12 ;
722+ // Hex-encoded calldata. Present only for OPNet transactions.
723+ optional string calldata = 13 ;
724+ // Hex-encoded bytecode. Present only for deployment transactions.
725+ optional string bytecode = 14 ;
718726}
719727
720728// Request: fetch the latest pending transactions with optional address filter.
@@ -755,8 +763,8 @@ message NewMempoolTransactionNotification {
755763 uint32 subscriptionId = 1 ;
756764 // The txid of the new mempool transaction.
757765 string txId = 2 ;
758- // Whether this transaction targets an OPNet contract .
759- bool isOPNet = 3 ;
766+ // The OPNet transaction type (Generic, Interaction, Deployment) .
767+ string transactionType = 3 ;
760768 // Unix timestamp in milliseconds when the transaction was observed.
761769 uint64 timestamp = 4 ;
762770}
0 commit comments