From c8fab19558b5e59979f77a21f94e2a56fcdd61c6 Mon Sep 17 00:00:00 2001 From: Haseeb Rabbani Date: Fri, 21 Nov 2025 14:50:32 +0400 Subject: [PATCH] parse tx auth list --- etherclient/extras.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/etherclient/extras.go b/etherclient/extras.go index 7512485..2d711d5 100644 --- a/etherclient/extras.go +++ b/etherclient/extras.go @@ -157,13 +157,14 @@ func toBlockNumArg(number *big.Int) string { } type BlockTx struct { - From string `json:"from"` - To string `json:"to"` - Nonce *hexutil.Uint64 `json:"nonce"` - Value *hexutil.Big `json:"value"` - Input string `json:"input"` - Hash string `json:"hash"` - Type TxType `json:"type"` + From string `json:"from"` + To string `json:"to"` + Nonce *hexutil.Uint64 `json:"nonce"` + Value *hexutil.Big `json:"value"` + Input string `json:"input"` + Hash string `json:"hash"` + Type TxType `json:"type"` + AuthorizationList []gethtypes.SetCodeAuthorization `json:"authorizationList"` } // GetBlockTransactions returns the raw transactions in a block.