@@ -143,6 +143,47 @@ message DynamicFeeTx {
143143 bytes s = 12 ;
144144}
145145
146+ // BlobTx is the data of EIP-4844 blob transactions.
147+ message BlobTx {
148+ option (gogoproto.goproto_getters ) = false ;
149+ option (cosmos_proto.implements_interface ) = "TxData" ;
150+
151+ // chain_id of the destination EVM chain
152+ string chain_id = 1 [
153+ (gogoproto.customtype ) = "cosmossdk.io/math.Int" ,
154+ (gogoproto.customname ) = "ChainID" ,
155+ (gogoproto.jsontag ) = "chainID"
156+ ];
157+ // nonce corresponds to the account nonce (transaction sequence).
158+ uint64 nonce = 2 ;
159+ // gas_tip_cap defines the max value for the gas tip.
160+ string gas_tip_cap = 3 [(gogoproto.customtype ) = "cosmossdk.io/math.Int" ];
161+ // gas_fee_cap defines the max value for the gas fee.
162+ string gas_fee_cap = 4 [(gogoproto.customtype ) = "cosmossdk.io/math.Int" ];
163+ // gas defines the gas limit defined for the transaction.
164+ uint64 gas = 5 [(gogoproto.customname ) = "GasLimit" ];
165+ // to is the recipient address in hex format.
166+ string to = 6 ;
167+ // value defines the transaction amount.
168+ string value = 7
169+ [(gogoproto.customtype ) = "cosmossdk.io/math.Int" , (gogoproto.customname ) = "Amount" ];
170+ // data is the data payload bytes of the transaction.
171+ bytes data = 8 ;
172+ // accesses is an array of access tuples.
173+ repeated AccessTuple accesses = 9
174+ [(gogoproto.castrepeated ) = "AccessList" , (gogoproto.jsontag ) = "accessList" , (gogoproto.nullable ) = false ];
175+ // max_fee_per_blob_gas defines the max fee per blob gas.
176+ string max_fee_per_blob_gas = 10 [(gogoproto.customtype ) = "cosmossdk.io/math.Int" ];
177+ // blob_versioned_hashes are the versioned blob hashes (hex).
178+ repeated string blob_versioned_hashes = 11 [(gogoproto.jsontag ) = "blobVersionedHashes" ];
179+ // v defines the signature value.
180+ bytes v = 12 ;
181+ // r defines the signature value.
182+ bytes r = 13 ;
183+ // s defines the signature value.
184+ bytes s = 14 ;
185+ }
186+
146187// ExtensionOptionsEthereumTx is an extension option for ethereum transactions
147188message ExtensionOptionsEthereumTx {
148189 option (gogoproto.goproto_getters ) = false ;
0 commit comments