/* * GetTransaction * blockHash, UInt256 */ public string?GetTransaction(string[] arguments) { arguments[1] = EraseHexPrefix(arguments[1]); if (!IsValidHexString(arguments[1])) { return(null); } var tx = _transactionManager.GetByHash(arguments[1].HexToUInt256()); return(tx is null ? $"Transaction {arguments[1]} not found" : ProtoUtils.ParsedObject(tx)); }