private async Task <string> SignTransactionAsync(IEthExternalSigner externalSigner, TransactionChainId transaction)
        {
            await transaction.SignExternallyAsync(externalSigner).ConfigureAwait(false);

            return(transaction.GetRLPEncoded().ToHex());
        }
 private string SignTransaction(byte[] privateKey, TransactionChainId transaction)
 {
     transaction.Sign(new CfxECKey(privateKey, true));
     return(transaction.GetRLPEncoded().ToHex());
 }