diff --git a/signer/core/apitypes/types.go b/signer/core/apitypes/types.go index b8b96bef92..9a32312d46 100644 --- a/signer/core/apitypes/types.go +++ b/signer/core/apitypes/types.go @@ -150,6 +150,9 @@ func (args *SendTxArgs) ToTransaction() (*types.Transaction, error) { if args.AccessList != nil { al = *args.AccessList } + if to == nil { + return nil, fmt.Errorf("transaction recipient must be set for blob transactions") + } data = &types.BlobTx{ To: *to, ChainID: uint256.MustFromBig((*big.Int)(args.ChainID)),