@@ -10,35 +10,35 @@ import (
1010)
1111
1212type Transaction struct {
13- ChainId * big.Int `json:"chain_id" swaggertype:"string"`
14- Hash string `json:"hash"`
15- Nonce uint64 `json:"nonce"`
16- BlockHash string `json:"block_hash"`
17- BlockNumber * big.Int `json:"block_number" swaggertype:"string"`
18- BlockTimestamp uint64 `json:"block_timestamp"`
19- TransactionIndex uint64 `json:"transaction_index"`
20- FromAddress string `json:"from_address"`
21- ToAddress string `json:"to_address"`
22- Value * big.Int `json:"value" swaggertype:"string"`
23- Gas uint64 `json:"gas"`
24- GasPrice * big.Int `json:"gas_price" swaggertype:"string"`
25- Data string `json:"data"`
26- FunctionSelector string `json:"function_selector"`
27- MaxFeePerGas * big.Int `json:"max_fee_per_gas" swaggertype:"string"`
28- MaxPriorityFeePerGas * big.Int `json:"max_priority_fee_per_gas" swaggertype:"string"`
29- TransactionType uint8 `json:"transaction_type"`
30- R * big.Int `json:"r" swaggertype:"string"`
31- S * big.Int `json:"s" swaggertype:"string"`
32- V * big.Int `json:"v" swaggertype:"string"`
33- AccessListJson * string `json:"access_list_json"`
34- ContractAddress * string `json:"contract_address"`
35- GasUsed * uint64 `json:"gas_used"`
36- CumulativeGasUsed * uint64 `json:"cumulative_gas_used"`
37- EffectiveGasPrice * big.Int `json:"effective_gas_price" swaggertype:"string"`
38- BlobGasUsed * uint64 `json:"blob_gas_used"`
39- BlobGasPrice * big.Int `json:"blob_gas_price" swaggertype:"string"`
40- LogsBloom * string `json:"logs_bloom"`
41- Status * uint64 `json:"status"`
13+ ChainId * big.Int `json:"chain_id" ch:"chain_id" swaggertype:"string"`
14+ Hash string `json:"hash" ch:"hash" `
15+ Nonce uint64 `json:"nonce" ch:"nonce" `
16+ BlockHash string `json:"block_hash" ch:"block_hash" `
17+ BlockNumber * big.Int `json:"block_number" ch:"block_number" swaggertype:"string"`
18+ BlockTimestamp uint64 `json:"block_timestamp" ch:"block_timestamp" `
19+ TransactionIndex uint64 `json:"transaction_index" ch:"transaction_index" `
20+ FromAddress string `json:"from_address" ch:"from_address" `
21+ ToAddress string `json:"to_address" ch:"to_address" `
22+ Value * big.Int `json:"value" ch:"value" swaggertype:"string"`
23+ Gas uint64 `json:"gas" ch:"gas" `
24+ GasPrice * big.Int `json:"gas_price" ch:"gas_price" swaggertype:"string"`
25+ Data string `json:"data" ch:"data" `
26+ FunctionSelector string `json:"function_selector" ch:"function_selector" `
27+ MaxFeePerGas * big.Int `json:"max_fee_per_gas" ch:"max_fee_per_gas" swaggertype:"string"`
28+ MaxPriorityFeePerGas * big.Int `json:"max_priority_fee_per_gas" ch:"max_priority_fee_per_gas" swaggertype:"string"`
29+ TransactionType uint8 `json:"transaction_type" ch:"transaction_type" `
30+ R * big.Int `json:"r" ch:"r" swaggertype:"string"`
31+ S * big.Int `json:"s" ch:"s" swaggertype:"string"`
32+ V * big.Int `json:"v" ch:"v" swaggertype:"string"`
33+ AccessListJson * string `json:"access_list_json" ch:"access_list_json" `
34+ ContractAddress * string `json:"contract_address" ch:"contract_address" `
35+ GasUsed * uint64 `json:"gas_used" ch:"gas_used" `
36+ CumulativeGasUsed * uint64 `json:"cumulative_gas_used" ch:"cumulative_gas_used" `
37+ EffectiveGasPrice * big.Int `json:"effective_gas_price" ch:"effective_gas_price" swaggertype:"string"`
38+ BlobGasUsed * uint64 `json:"blob_gas_used" ch:"blob_gas_used" `
39+ BlobGasPrice * big.Int `json:"blob_gas_price" ch:"blob_gas_price" swaggertype:"string"`
40+ LogsBloom * string `json:"logs_bloom" ch:"logs_bloom" `
41+ Status * uint64 `json:"status" ch:"status" `
4242}
4343
4444type DecodedTransactionData struct {
0 commit comments