pub async fn get_raw_transaction_bytes(&mut self, hash: H256) -> DalResult<Option<Vec<u8>>> {
        sqlx::query!(
            r#"
            SELECT
                coalesce(input, '\x'::bytea) AS "input!"
            FROM
                transactions
            WHERE
                transactions.hash = $1
            "#,
            hash.as_bytes()
        )
        .map(|x| x.input)
        .instrument("get_raw_transaction_bytes")
        .with_arg("hash", &hash)
        .fetch_optional(self.storage)
        .await
    }
Returns EIP-2718 binary-encoded representation of a transaction. As L1 priority transactions
or upgrade transaction do not have a valid EIP-2718 representation, returns an empty byte
array for them to signify that transaction exists but cannot be encoded.
core/lib/dal/src/transactions_web3_dal.rs