Exemple #1
0
        public static IEnumerable <byte> RlpWithSignature(this Transaction t, Signature s, bool useNewId)
        {
            var ethTx = t.GetEthTx(s, useNewId);

            return(ethTx.GetRLPEncoded());
        }
Exemple #2
0
        public static IEnumerable <byte> Rlp(this Transaction t, bool useNewId)
        {
            var ethTx = t.GetEthTx(null, useNewId);

            return(ethTx.GetRLPEncodedRaw());
        }