/// <summary> /// Gets a transaction out of the transactions mapping on the contract without decoding it. /// </summary> /// <param name="web3">The web3 interface instance to use.</param> /// <param name="contractAddress">The address of the deployed multisig wallet contract.</param> /// <param name="transactionId">The multisig wallet transaction identifier.</param> /// <returns>The transaction data in hex format. No decoding is applied.</returns> public static async Task <string> GetRawTransactionAsync(Web3 web3, string contractAddress, BigInteger transactionId) { ContractHandler handler = web3.Eth.GetContractHandler(contractAddress); byte[] rawTransaction = await handler.QueryRawAsync <TransactionsFunction>(new TransactionsFunction() { TransactionId = transactionId }).ConfigureAwait(false); return(Encoders.Hex.EncodeData(rawTransaction)); }